diff options
author | Tim Keller <tjkeller.xyz> | 2025-04-12 17:28:05 -0500 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2025-04-12 17:28:05 -0500 |
commit | 2024f141ae579131e9c88d79056d8dc921d3551d (patch) | |
tree | bcc81d6bf3f8325219d05e98dd4622c55c715086 /modules | |
parent | 81b0fa433585bd0899f1e7c0116bd108f23375b9 (diff) | |
download | nixos-2024f141ae579131e9c88d79056d8dc921d3551d.tar.xz nixos-2024f141ae579131e9c88d79056d8dc921d3551d.zip |
cursor size option
Diffstat (limited to 'modules')
-rw-r--r-- | modules/home/theme.nix | 8 | ||||
-rw-r--r-- | modules/hosts/libreX60/home.nix | 15 |
2 files changed, 18 insertions, 5 deletions
diff --git a/modules/home/theme.nix b/modules/home/theme.nix index bc8532e..4edaffa 100644 --- a/modules/home/theme.nix +++ b/modules/home/theme.nix @@ -53,6 +53,13 @@ in { }; }; }; + theme.cursor = { + size = lib.mkOption { + type = lib.types.int; + default = null; + description = "gtk cursor size"; + }; + }; }; config = { @@ -72,6 +79,7 @@ in { }; cursorTheme = { name = "Adwaita"; + size = config.theme.cursor.size; }; gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc"; }; diff --git a/modules/hosts/libreX60/home.nix b/modules/hosts/libreX60/home.nix index 21b6480..01496db 100644 --- a/modules/hosts/libreX60/home.nix +++ b/modules/hosts/libreX60/home.nix @@ -1,9 +1,14 @@ { ... }: { imports = [ ../../home ]; - theme.mint.theme.color = "Dark-Red"; - theme.mint.icons.color = "Red"; - theme.font.monospace = "Tamzen"; - theme.font.gtk.name = "monospace"; - theme.font.gtk.size = 8; + theme = { + mint.theme.color = "Dark-Red"; + mint.icons.color = "Red"; + font = { + monospace = "Tamzen"; + gtk.name = "monospace"; + gtk.size = 8; + }; + cursor.size = 24; + }; } |