diff options
| -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; +	};  }  | 
