add some compat env vars to sway config

This commit is contained in:
xunuwu 2024-09-13 20:06:16 +02:00
parent 9a1ab7e65a
commit 126dcf014e
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI

View file

@ -42,6 +42,14 @@
wayland.windowManager.sway = {
enable = true;
checkConfig = false; # doesnt work with custom wallpaper
extraSessionCommands = ''
export SDL_VIDEODRIVER=wayland
export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export _JAVA_AWT_WM_NONREPARENTING=1
'';
config = {
modifier = "Mod4";
output = {