Attempt to fix theming

This commit is contained in:
2026-02-26 18:43:17 +00:00
parent e8becbb9b4
commit 5d15ebe2d2
8 changed files with 63 additions and 27 deletions
-1
View File
@@ -95,7 +95,6 @@
"hg".source = ./dotfiles/dot_config/hg;
"stylua.toml".source = ./dotfiles/dot_config/stylua.toml;
"electron-flags.conf".source = ./dotfiles/dot_config/electron-flags.conf;
"Kvantum".source = ./dotfiles/dot_config/Kvantum;
"foot".source = ./dotfiles/dot_config/foot;
};
}
-2
View File
@@ -73,8 +73,6 @@ in {
pkgs.gtk-engine-murrine
pkgs.gtk_engines
pkgs.hicolor-icon-theme
pkgs.phinger-cursors
pkgs.tokyonight-gtk-theme
# Backend dev tools
pkgs.lua54Packages.lua
pkgs.luajitPackages.luarocks
+24 -3
View File
@@ -16,8 +16,8 @@
package = theme.iconTheme.package;
};
theme = {
name = theme.theme.name;
package = theme.theme.package;
name = theme.gtkTheme.name;
package = theme.gtkTheme.package;
};
cursorTheme = {
name = theme.cursorTheme.name;
@@ -39,13 +39,34 @@
'';
};
};
# QT theming
qt = {
enable = true;
platformTheme.name = "kvantum";
style.name = "kvantum";
};
xdg.configFile."Kvantum/kvantum.kvconfig".text = ''
[General]
theme=${theme.qtTheme.name}
'';
# dconf theming settings
dconf.settings = {
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
gtk-theme = theme.theme.name;
gtk-theme = theme.gtkTheme.name;
icon-theme = theme.iconTheme.name;
cursor-theme = theme.cursorTheme.name;
};
};
# Ensure theming packages are installed
home.packages = [
theme.gtkTheme.package
theme.qtTheme.package
theme.iconTheme.package
theme.cursorTheme.package
];
}