diff options
Diffstat (limited to 'modules/home/theme.nix')
-rw-r--r-- | modules/home/theme.nix | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/modules/home/theme.nix b/modules/home/theme.nix index a1c4f9b..2288610 100644 --- a/modules/home/theme.nix +++ b/modules/home/theme.nix @@ -40,6 +40,30 @@ in { default = "CommitMono"; description = "default monospace font"; }; + gtk = { + name = lib.mkOption { + type = lib.types.str; + default = "sans-serif"; + description = "default gtk font"; + }; + size = lib.mkOption { + type = with lib.types; nullOr int; + default = null; + description = "default gtk font size"; + }; + }; + }; + theme.cursor = { + name = lib.mkOption { + type = lib.types.str; + default = "Adwaita"; + description = "gtk cursor theme"; + }; + size = lib.mkOption { + type = with lib.types; nullOr int; + default = null; + description = "gtk cursor size"; + }; }; }; @@ -55,10 +79,12 @@ in { name = transformColorValue config.theme.mint.icons.color; }; font = { - name = config.theme.font.sansSerif; + name = config.theme.font.gtk.name; + size = config.theme.font.gtk.size; }; cursorTheme = { - name = "Adwaita"; + name = config.theme.cursor.name; + size = config.theme.cursor.size; }; gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc"; }; |