sway: export env var to fix ppsspp (wayland+sdl)

This commit is contained in:
Danil Zagoskin 2024-03-24 03:03:46 +03:00 committed by sydarn
parent 93554b0caa
commit 089045de33

View file

@ -4,3 +4,6 @@
export WAYLAND_DISPLAY=wayland-1
export XDG_RUNTIME_DIR=/var/run/0-runtime-dir
export SWAYSOCK="${XDG_RUNTIME_DIR}/sway-ipc.0.sock"
# this lets ppsspp to work with wayland and not segfault
export SDL_VIDEODRIVER=wayland