wip: fix gtk, qt themes

This commit is contained in:
Sean Kovacs 2025-12-17 21:21:20 -05:00
commit 29485ced8f
Signed by: sckova
GPG key ID: 00F325187C68651A
2 changed files with 11 additions and 3 deletions

View file

@ -209,11 +209,20 @@
size = config.userOptions.cursor.size; size = config.userOptions.cursor.size;
}; };
home.sessionVariables = {
QT_QPA_PLATFORMTHEME = "qt6ct";
};
gtk = { gtk = {
enable = true; enable = true;
colorScheme = if config.userOptions.isDark then "dark" else "light"; 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 = { iconTheme = {
name = if config.userOptions.isDark then "Colloid-Dark" else "Colloid-Light"; name = if config.userOptions.isDark then "Colloid-Dark" else "Colloid-Light";
package = pkgs.colloid-icon-theme; package = pkgs.colloid-icon-theme;
@ -238,7 +247,7 @@
enable = true; enable = true;
qt5ctSettings = { qt5ctSettings = {
Appearance = { Appearance = {
style = "kvantum"; style = "Breeze";
icon_theme = config.gtk.iconTheme.name; icon_theme = config.gtk.iconTheme.name;
color_scheme_path = "/home/${config.userOptions.username}/.config/qt5ct/qt5ct.conf"; color_scheme_path = "/home/${config.userOptions.username}/.config/qt5ct/qt5ct.conf";
custom_palette = true; custom_palette = true;
@ -249,7 +258,7 @@
}; };
qt6ctSettings = { qt6ctSettings = {
Appearance = { Appearance = {
style = "kvantum"; style = "Breeze";
icon_theme = config.gtk.iconTheme.name; icon_theme = config.gtk.iconTheme.name;
color_scheme_path = "/home/${config.userOptions.username}/.config/qt6ct/qt6ct.conf"; color_scheme_path = "/home/${config.userOptions.username}/.config/qt6ct/qt6ct.conf";
custom_palette = true; custom_palette = true;

View file

@ -512,7 +512,6 @@ in
"TZDIR=${pkgs.tzdata}/share/zoneinfo" "TZDIR=${pkgs.tzdata}/share/zoneinfo"
"NOCTALIA_SETTINGS_FALLBACK=%h/.config/noctalia/gui-settings.json" "NOCTALIA_SETTINGS_FALLBACK=%h/.config/noctalia/gui-settings.json"
"QT_QPA_PLATFORM=wayland" "QT_QPA_PLATFORM=wayland"
"QT_QPA_PLATFORMTHEME_5=qt5ct"
"QT_QPA_PLATFORMTHEME=qt6ct" "QT_QPA_PLATFORMTHEME=qt6ct"
]; ];
}; };