diff options
| -rwxr-xr-x | run-sway.sh | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/run-sway.sh b/run-sway.sh index 9bacf27..3a8cfb9 100755 --- a/run-sway.sh +++ b/run-sway.sh @@ -1,3 +1,15 @@ #!/bin/sh + +# Session +export XDG_SESSION_TYPE=wayland +export XDG_SESSION_DESKTOP=sway export XDG_CURRENT_DESKTOP=sway -dbus-run-session sway "$@" + +# Wayland stuff +export MOZ_ENABLE_WAYLAND=1 +export QT_QPA_PLATFORM=wayland +export SDL_VIDEODRIVER=wayland +export _JAVA_AWT_WM_NONREPARENTING=1 + +# Launch Sway with a D-Bus server +exec dbus-run-session sway "$@" |
