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