set nixos_ozone_wl for sway session

should make electron apps prefer native wayland over xwayland
This commit is contained in:
xunuwu 2025-05-16 13:58:39 +02:00
parent 896ceb31a9
commit cd4f3341f4

View file

@ -53,6 +53,8 @@
extraSessionCommands = ''
export SDL_VIDEODRIVER=wayland,x11,windows
export NIXOS_OZONE_WL=1
export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1