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 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules/home/theme.nix') 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"; }; -- cgit v1.2.3