From 2024f141ae579131e9c88d79056d8dc921d3551d Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sat, 12 Apr 2025 17:28:05 -0500 Subject: cursor size option --- modules/home/theme.nix | 8 ++++++++ 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; + }; } -- cgit v1.2.3