diff --git a/users/blake/dots/desktop/cursor/default.nix b/users/blake/dots/desktop/cursor/default.nix index 936f1bc..3d84eaa 100644 --- a/users/blake/dots/desktop/cursor/default.nix +++ b/users/blake/dots/desktop/cursor/default.nix @@ -15,6 +15,12 @@ in { default = "Posy_Cursor_Black"; description = "cursor to use"; }; + size = lib.mkOption { + type = lib.types.int; + default = 64; + description = "cursor size to use"; + }; + }; config = lib.mkIf cfg.enable { @@ -29,6 +35,13 @@ in { # recursive = true; # }; + home.sessionVariables = { + XCURSOR_SIZE = cfg.size; + XCURSOR_THEME = cfg.cursor; + HYPRCURSOR_SIZE = cfg.size; + HYPRCURSOR_THEME = cfg.cursor; + }; + home.pointerCursor = { dotIcons.enable = false; enable = true;