summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2025-04-24 16:58:23 +0200
committerSilas Schöffel <sils@sils.li>2025-04-24 16:58:23 +0200
commitd0c5cbcf3287935e32e48544b2b6fcfeb32cdabb (patch)
treecb34c1c6d60abe61ec7cfb71a21bbe31e1d45668
parenthm/packages: add logseq (diff)
downloadnix-config-d0c5cbcf3287935e32e48544b2b6fcfeb32cdabb.zip
hyprland: configure cursor
Diffstat (limited to '')
-rw-r--r--modules/hm/sils/hyprland.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/hm/sils/hyprland.nix b/modules/hm/sils/hyprland.nix
index ed51c34..7cae6b1 100644
--- a/modules/hm/sils/hyprland.nix
+++ b/modules/hm/sils/hyprland.nix
@@ -9,6 +9,14 @@
 in {
   options.sils.hyprland.enable = lib.mkEnableOption "sils hyprland config";
   config = lib.mkIf cfg.enable {
+    home.pointerCursor = {
+      enable = true;
+      name = "Adwaita";
+      gtk.enable = true;
+      x11.enable = true;
+      size = 24;
+      package = pkgs.adwaita-icon-theme;
+    };
     wayland.windowManager.hyprland = {
       enable = true;
       settings = {
@@ -186,6 +194,7 @@ in {
         #exec-once=bash ~/.config/hypr/start.sh
         #exec-once=swww init &
         exec-once = [
+          "${pkgs.hyprland}/bin/hyprctl ${config.home.pointerCursor.name} ${toString config.home.pointerCursor.size}"
           #"${pkgs.nwg-panel}/bin/nwg-panel"
           "${pkgs.networkmanagerapplet}/bin/nm-applet --indicator"
           #"${pkgs.waybar}/bin/waybar"