fix: resolve catppuccin deprecation warnings, use poppins, and replace host with namespace

This commit is contained in:
Jo 2024-12-24 16:59:18 +01:00
parent d543faff8c
commit 9e3a71b35e
3 changed files with 19 additions and 18 deletions

View file

@ -6,8 +6,8 @@
accent = "blue";
flavor = "macchiato";
pointerCursor.enable = true;
pointerCursor.accent = "blue";
pointerCursor.flavor = "macchiato";
cursors.enable = true;
cursors.accent = "blue";
cursors.flavor = "macchiato";
};
}

View file

@ -101,10 +101,10 @@ let
'';
};
cfg = config.themes.catppuccin.gtk;
cfg = config.${namespace}.themes.catppuccin.gtk;
in
{
options.themes.catppuccin.gtk = { enable = mkEnableOption "Enable the Catppuccin theme for GTK"; };
options.${namespace}.themes.catppuccin.gtk = { enable = mkEnableOption "Enable the Catppuccin theme for GTK"; };
config = mkIf cfg.enable {
home.packages = with pkgs; [
@ -120,17 +120,9 @@ in
enable = true;
font = {
name = "Ubuntu";
name = "Poppins";
size = 12;
package = pkgs.ubuntu-sans;
};
catppuccin = {
icon = {
enable = true;
accent = "maroon";
flavor = "mocha";
};
package = pkgs.poppins;
};
theme = {
@ -150,6 +142,16 @@ in
};
};
catppuccin = {
gtk = {
icon = {
enable = true;
accent = "maroon";
flavor = "mocha";
};
};
};
dconf.settings = {
"org/gnome/shell/extensions/user-theme" = {
name = "Colloid-Dark-Catppuccin";