wip: fix gtk, qt themes
This commit is contained in:
parent
46d92c5e6f
commit
29485ced8f
2 changed files with 11 additions and 3 deletions
|
|
@ -209,11 +209,20 @@
|
|||
size = config.userOptions.cursor.size;
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
QT_QPA_PLATFORMTHEME = "qt6ct";
|
||||
};
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
|
||||
colorScheme = if config.userOptions.isDark then "dark" else "light";
|
||||
|
||||
theme = {
|
||||
package = pkgs.kdePackages.breeze-gtk;
|
||||
name = if config.userOptions.isDark then "Breeze-Dark" else "Breeze";
|
||||
};
|
||||
|
||||
iconTheme = {
|
||||
name = if config.userOptions.isDark then "Colloid-Dark" else "Colloid-Light";
|
||||
package = pkgs.colloid-icon-theme;
|
||||
|
|
@ -238,7 +247,7 @@
|
|||
enable = true;
|
||||
qt5ctSettings = {
|
||||
Appearance = {
|
||||
style = "kvantum";
|
||||
style = "Breeze";
|
||||
icon_theme = config.gtk.iconTheme.name;
|
||||
color_scheme_path = "/home/${config.userOptions.username}/.config/qt5ct/qt5ct.conf";
|
||||
custom_palette = true;
|
||||
|
|
@ -249,7 +258,7 @@
|
|||
};
|
||||
qt6ctSettings = {
|
||||
Appearance = {
|
||||
style = "kvantum";
|
||||
style = "Breeze";
|
||||
icon_theme = config.gtk.iconTheme.name;
|
||||
color_scheme_path = "/home/${config.userOptions.username}/.config/qt6ct/qt6ct.conf";
|
||||
custom_palette = true;
|
||||
|
|
|
|||
|
|
@ -512,7 +512,6 @@ in
|
|||
"TZDIR=${pkgs.tzdata}/share/zoneinfo"
|
||||
"NOCTALIA_SETTINGS_FALLBACK=%h/.config/noctalia/gui-settings.json"
|
||||
"QT_QPA_PLATFORM=wayland"
|
||||
"QT_QPA_PLATFORMTHEME_5=qt5ct"
|
||||
"QT_QPA_PLATFORMTHEME=qt6ct"
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue