sway: Make QT applications dark
This commit is contained in:
parent
171312e043
commit
d3eb9e25c3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user