this is the one I swear the env vars will work

This commit is contained in:
2025-11-06 22:36:24 -06:00
parent 7576364d43
commit 81c59857e5

View File

@@ -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;