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

View file

@ -4,7 +4,7 @@
pkgs, pkgs,
... ...
}: let }: let
inherit (lib) mkIf mkOption pathExists; inherit (lib) mkOption pathExists;
inherit (lib.types) bool package str; inherit (lib.types) bool package str;
cfg = config.theme.gtk; cfg = config.theme.gtk;
in { in {
@ -18,13 +18,15 @@ in {
name = mkOption { name = mkOption {
type = str; type = str;
description = "Name for the GTK theme"; description = "Name for the GTK theme";
default = "rose-pine"; default = "Catppuccin-GTK-Dark";
}; };
package = mkOption { package = mkOption {
type = package; type = package;
description = "Package providing the GTK theme"; 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 = { home-manager.users.nezia = {
gtk = { gtk = {
enable = true; enable = true;