theme: code cleanup

This commit is contained in:
Aly Raffauf 2024-05-28 18:53:52 -04:00
parent fe0c497bbc
commit a7dcf687fc

View file

@ -165,10 +165,12 @@
size = config.alyraffauf.desktop.theme.cursorTheme.size; size = config.alyraffauf.desktop.theme.cursorTheme.size;
}; };
qt.enable = true; qt = {
qt.platformTheme.name = "qtct"; enable = true;
qt.style.name = "kvantum"; platformTheme.name = "qtct";
style.name = "kvantum";
};
xdg.configFile = { xdg.configFile = {
"Kvantum/${config.alyraffauf.desktop.theme.qt.name}".source = "${config.alyraffauf.desktop.theme.qt.package}/share/Kvantum/${config.alyraffauf.desktop.theme.qt.name}"; "Kvantum/${config.alyraffauf.desktop.theme.qt.name}".source = "${config.alyraffauf.desktop.theme.qt.package}/share/Kvantum/${config.alyraffauf.desktop.theme.qt.name}";
"Kvantum/kvantum.kvconfig".source = (pkgs.formats.ini {}).generate "kvantum.kvconfig" { "Kvantum/kvantum.kvconfig".source = (pkgs.formats.ini {}).generate "kvantum.kvconfig" {