modules/theme: update default gtk themes
This commit is contained in:
parent
56bc4f35ed
commit
5027580f06
1 changed files with 5 additions and 14 deletions
|
@ -5,10 +5,8 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (builtins) pathExists;
|
inherit (lib) mkIf mkOption pathExists;
|
||||||
inherit (lib) mkIf mkOption;
|
|
||||||
inherit (lib.types) bool package str;
|
inherit (lib.types) bool package str;
|
||||||
|
|
||||||
cfg = config.theme.gtk;
|
cfg = config.theme.gtk;
|
||||||
in {
|
in {
|
||||||
options.theme.gtk = {
|
options.theme.gtk = {
|
||||||
|
@ -21,20 +19,16 @@ in {
|
||||||
name = mkOption {
|
name = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
description = "Name for the GTK theme";
|
description = "Name for the GTK theme";
|
||||||
default = "catppuccin-macchiato-lavender-standard";
|
default = "rose-pine";
|
||||||
};
|
};
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = package;
|
type = package;
|
||||||
description = "Package providing the GTK theme";
|
description = "Package providing the GTK theme";
|
||||||
|
|
||||||
default = pkgs.catppuccin-gtk.override {
|
default = pkgs.rose-pine-gtk-theme;
|
||||||
# https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/data/themes/catppuccin-gtk/default.nix
|
|
||||||
variant = "macchiato";
|
|
||||||
accents = ["lavender"];
|
|
||||||
size = "standard";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
iconTheme = {
|
iconTheme = {
|
||||||
name = mkOption {
|
name = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
|
@ -45,10 +39,7 @@ in {
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = package;
|
type = package;
|
||||||
description = "The GTK icon theme to be used";
|
description = "The GTK icon theme to be used";
|
||||||
default = pkgs.catppuccin-papirus-folders.override {
|
default = pkgs.papirus-icon-theme;
|
||||||
accent = "lavender";
|
|
||||||
flavor = "macchiato";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue