gnome: Fix QT apps theme

This commit is contained in:
PapaTutuWawa 2021-08-28 14:51:14 +02:00
parent f3e9e39aa9
commit cf4228a479

View File

@ -17,8 +17,12 @@
gnome.gnome-terminal gnome.gnome-terminal
pinentry-gnome pinentry-gnome
dconf # For home-manager dconf # For home-manager
libsForQt5.qtstyleplugin-kvantum
]; ];
gnome.excludePackages = pkgs.gnome.optionalPackages; gnome.excludePackages = pkgs.gnome.optionalPackages;
sessionVariables = {
"QT_STYLE_OVERRIDE" = "kvantum";
};
}; };
services = { services = {
@ -65,6 +69,14 @@
}; };
home-manager.users."${config.system.singleUser}" = { home-manager.users."${config.system.singleUser}" = {
xdg.configFile = {
# Make QT apps use a dark theme
"Kvantum/kvantum.kvconfig".text = ''
[General]
theme=KvArcDark
'';
};
dconf.settings = { dconf.settings = {
# The packages come in from modules/programs/gnome # The packages come in from modules/programs/gnome
# Theme # Theme