We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b021fe9 commit 56e5231Copy full SHA for 56e5231
1 file changed
modules/graphical/default.nix
@@ -162,9 +162,12 @@ in
162
noto-fonts-cjk-sans
163
];
164
165
- environment.sessionVariables = {
166
- QT_QPA_PLATFORMTHEME = "qt5ct";
167
- };
+ # Only change the setting for cosmic
+ environment.extraInit = ''
+ if [ "$XDG_CURRENT_DESKTOP" = "COSMIC" ]; then
168
+ export QT_QPA_PLATFORMTHEME="qt5ct"
169
+ fi
170
+ '';
171
172
programs.dconf.enable = true;
173
0 commit comments