sway: Make QT applications dark

This commit is contained in:
PapaTutuWawa 2021-11-09 20:16:22 +01:00
parent 171312e043
commit d3eb9e25c3

View File

@ -45,15 +45,20 @@ in {
]; ];
}; };
environment.sessionVariables = { qt5.style = "adwaita-dark";
# sway
#"_JAVA_AWT_NONREPARENTING" = 1;
# Wayland environment = {
"QT_QPA_PLATFORM" = "wayland-egl"; systemPackages = with pkgs; [ adwaita-qt ];
"ECORE_EVAS_ENGINE" = "wayland-egl"; sessionVariables = {
"ELM_ENGINE" = "wayland-egl"; # sway
"SDL_VIDEODRIVER" = "wayland"; #"_JAVA_AWT_NONREPARENTING" = 1;
# Wayland
"QT_QPA_PLATFORM" = "wayland-egl";
"ECORE_EVAS_ENGINE" = "wayland-egl";
"ELM_ENGINE" = "wayland-egl";
"SDL_VIDEODRIVER" = "wayland";
};
}; };
programs.sway.enable = true; programs.sway.enable = true;