diff options
| author | Blake Romero <blake@developercraft.com> | 2026-03-22 13:26:18 +0000 |
|---|---|---|
| committer | Blake Romero <blake@developercraft.com> | 2026-03-22 13:26:18 +0000 |
| commit | b5c9fb7fee869c2d01c8c2aea94a00ec338f03d2 (patch) | |
| tree | 80d683eb85e24337e162d07207d50288f9471669 | |
| parent | 7d0a30ac9ca64e8278e39d86237be739f7a3d4a2 (diff) | |
| -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 "$@" |
