gtk: change theme options

This commit is contained in:
Charlie Root 2024-08-15 23:26:43 +02:00
commit ce02a2b817
2 changed files with 49 additions and 39 deletions

View file

@ -0,0 +1,43 @@
{
lib,
pkgs,
config,
...
}: let
inherit (config.modules.other.system) username;
inherit (lib) mkOption mkEnableOption;
inherit (lib.types) str package submodule;
in {
options.modules.style.gtk = {
enable = mkEnableOption "Wether to enable GTK theming";
theme = {
name = mkOption {
description = "The GTK theme name";
default = "Gruvbox-Dark-BL";
type = str;
};
package = mkOption {
description = "The GTK theme package";
default = pkgs.gruvbox-gtk-theme;
type = package;
};
};
iconTheme = mkOption {
description = "The GTK icon theme";
type = submodule {
options = {
name = mkOption {
description = "The GTK icon theme name";
default = "Papirus-Dark";
type = str;
};
package = mkOption {
description = "The GTK icon theme package";
default = pkgs.catppuccin-papirus-folders;
type = package;
};
};
};
};
};
}