modules/theme: set default theme to catppuccin (again)

This commit is contained in:
Anthony Rodriguez 2024-12-13 14:54:34 +01:00
parent 471c6b5503
commit 7c7a332a3e
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
2 changed files with 9 additions and 19 deletions

View file

@ -21,8 +21,8 @@ in {
Name of the tinted-theming color scheme to use.
'';
type = enum (attrNames inputs.basix.schemeData.base16);
example = "rose-pine";
default = "rose-pine";
example = "catppuccin-mocha";
default = "catppuccin-mocha";
};
wallpaper = mkOption {
@ -42,14 +42,14 @@ in {
description = ''
Name of the cursor theme.
'';
default = "BreezeX-RosePine-Linux";
default = "Bibata-Modern-Ice";
};
package = mkOption {
type = package;
description = ''
Package providing the cursor theme.
'';
default = pkgs.rose-pine-cursor;
default = pkgs.bibata-cursors;
};
size = mkOption {
description = ''

View file

@ -4,7 +4,7 @@
pkgs,
...
}: let
inherit (lib) mkIf mkOption pathExists;
inherit (lib) mkOption pathExists;
inherit (lib.types) bool package str;
cfg = config.theme.gtk;
in {
@ -18,13 +18,15 @@ in {
name = mkOption {
type = str;
description = "Name for the GTK theme";
default = "rose-pine";
default = "Catppuccin-GTK-Dark";
};
package = mkOption {
type = package;
description = "Package providing the GTK theme";
default = pkgs.rose-pine-gtk-theme;
default = pkgs.magnetic-catppuccin-gtk.overrideAttrs {
accent = "purple";
};
};
};
@ -58,18 +60,6 @@ in {
})
];
programs.regreet = {
theme = {
inherit (cfg.theme) name package;
};
iconTheme = {
inherit (cfg.iconTheme) name package;
};
cursorTheme = mkIf config.theme.enable {
inherit (config.theme.cursorTheme) name package;
};
};
home-manager.users.nezia = {
gtk = {
enable = true;