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,5 +1,7 @@
{ pkgs, ... }:
let configDir = ../config;
in {
in
{
home.file = {
".config/nvim" = {
source = "${configDir}/nvim";

View file

@ -17,7 +17,6 @@
CLUTTER_BACKEND = "wayland";
WLR_RENDERER = "vulkan";
XCURSOR_SIZE = "32";
GTK_THEME = "Catppuccin-Macchiato-Compact-Lavender-Dark";
XDG_CURRENT_DESKTOP = "Hyprland";
XDG_SESSION_DESKTOP = "Hyprland";
XDG_SESSION_TYPE = "wayland";

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;
};
}

View file

@ -27,6 +27,7 @@
"font.name.monospace.zh-TW" = "Noto Sans Mono CJK TC";
};
# firefox = {
# enable = true;
# languagePacks = [

View file

@ -55,6 +55,7 @@
# Misc
xfce.thunar # File manager
nwg-look
# Portal
xdg-desktop-portal-gtk

View file

@ -86,12 +86,11 @@
mtr.enable = true;
fish.enable = true;
# nix-index = {
# enable = true;
# enableFishIntegration = true;
# enableBashIntegration = false;
# enableZshIntegration = false;
# };
thunar.plugins = with pkgs.xfce; [
thunar-archive-plugin
thunar-volman
thunar-media-tags-plugin
];
# Set fish as default shell but not login shell
bash = {

View file

@ -42,5 +42,8 @@
devmon.enable = true;
flatpak.enable = true;
# Thuner plugin
tumbler.enable = true; # Thumbnail
};
}