fix: catppuccin gtk theme

This commit is contained in:
DACHXY 2024-12-26 15:53:51 +08:00
parent 9c2da1547b
commit 87c07bfecf
7 changed files with 32 additions and 15 deletions

View file

@ -1,4 +1,5 @@
{ pkgs, ... }: {
{ pkgs, ... }:
{
gtk = {
enable = true;
@ -8,10 +9,10 @@
};
theme = {
name = "Catppuccin-Macchiato-Compact-Lavender-dark";
name = "catppuccin-macchiato-lavender-compact";
package = pkgs.catppuccin-gtk.override {
size = "compact";
accents = [ "lavender" ];
size = "compact";
variant = "macchiato";
};
};
@ -21,13 +22,24 @@
package = pkgs.papirus-folders;
};
gtk3.extraConfig = {
gtk-application-prefer-dark-theme = 1;
gtk3 = {
# extraCss = gtk-css;
extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
};
gtk4.extraConfig = {
gtk-application-prefer-dark-theme = 1;
gtk4 = {
# extraCss = gtk-css;
extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
};
};
qt = {
enable = true;
style.name = "adwaita-dark";
style.package = pkgs.adwaita-qt;
};
}