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 = {
# sway
#"_JAVA_AWT_NONREPARENTING" = 1;
qt5.style = "adwaita-dark";
environment = {
systemPackages = with pkgs; [ adwaita-qt ];
sessionVariables = {
# sway
#"_JAVA_AWT_NONREPARENTING" = 1;
# Wayland
"QT_QPA_PLATFORM" = "wayland-egl";
"ECORE_EVAS_ENGINE" = "wayland-egl";
"ELM_ENGINE" = "wayland-egl";
"SDL_VIDEODRIVER" = "wayland";
# Wayland
"QT_QPA_PLATFORM" = "wayland-egl";
"ECORE_EVAS_ENGINE" = "wayland-egl";
"ELM_ENGINE" = "wayland-egl";
"SDL_VIDEODRIVER" = "wayland";
};
};
programs.sway.enable = true;