forked from poz/niksos
move QT_QPA_PLATFORMTHEME to environment.sessionVariables
this fixes some gui programs not being in the right theme
This commit is contained in:
parent
f0c9b0892a
commit
798cd63bdd
1 changed files with 4 additions and 1 deletions
|
@ -28,6 +28,10 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
environment.sessionVariables = {
|
||||||
|
QT_QPA_PLATFORMTHEME = "qt5ct";
|
||||||
|
};
|
||||||
|
|
||||||
home-manager.users.${config'.username} = {
|
home-manager.users.${config'.username} = {
|
||||||
# thanks raf :3 https://github.com/NotAShelf/nyx/blob/main/homes/notashelf/themes/qt.nix
|
# thanks raf :3 https://github.com/NotAShelf/nyx/blob/main/homes/notashelf/themes/qt.nix
|
||||||
qt = {
|
qt = {
|
||||||
|
@ -57,7 +61,6 @@ in {
|
||||||
QT_QPA_PLATFORM = "wayland;xcb";
|
QT_QPA_PLATFORM = "wayland;xcb";
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||||
DISABLE_QT_COMPAT = "0";
|
DISABLE_QT_COMPAT = "0";
|
||||||
QT_QPA_PLATFORMTHEME = "qt5ct";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue