this is the one I swear the env vars will work
This commit is contained in:
@@ -15,6 +15,12 @@ in {
|
|||||||
default = "Posy_Cursor_Black";
|
default = "Posy_Cursor_Black";
|
||||||
description = "cursor to use";
|
description = "cursor to use";
|
||||||
};
|
};
|
||||||
|
size = lib.mkOption {
|
||||||
|
type = lib.types.int;
|
||||||
|
default = 64;
|
||||||
|
description = "cursor size to use";
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
@@ -29,6 +35,13 @@ in {
|
|||||||
# recursive = true;
|
# recursive = true;
|
||||||
# };
|
# };
|
||||||
|
|
||||||
|
home.sessionVariables = {
|
||||||
|
XCURSOR_SIZE = cfg.size;
|
||||||
|
XCURSOR_THEME = cfg.cursor;
|
||||||
|
HYPRCURSOR_SIZE = cfg.size;
|
||||||
|
HYPRCURSOR_THEME = cfg.cursor;
|
||||||
|
};
|
||||||
|
|
||||||
home.pointerCursor = {
|
home.pointerCursor = {
|
||||||
dotIcons.enable = false;
|
dotIcons.enable = false;
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user