2023-04-13 00:18:28 +02:00
|
|
|
#!/bin/sh -xe
|
|
|
|
|
|
|
|
# cd
|
|
|
|
cd
|
|
|
|
|
|
|
|
# Environment
|
|
|
|
# XDG
|
|
|
|
export \
|
|
|
|
XDG_CURRENT_DESKTOP=sway \
|
|
|
|
XDG_SESSION_DESKTOP=sway
|
|
|
|
|
|
|
|
# Backends
|
|
|
|
export \
|
|
|
|
QT_QPA_PLATFORM='wayland;xcb' \
|
|
|
|
QT_QPA_PLATFORMTHEME=qt6ct \
|
|
|
|
CLUTTER_BACKEND=wayland \
|
|
|
|
SDL_VIDEODRIVER=wayland \
|
|
|
|
_JAVA_AWT_WM_NONREPARENTING=1 \
|
|
|
|
MOZ_ENABLE_WAYLAND=1
|
|
|
|
|
|
|
|
# Execution
|
2023-09-25 09:38:59 +02:00
|
|
|
exec dbus-launch --exit-with-session \
|
|
|
|
ssh-agent /usr/bin/sway "$@"
|
2023-04-13 00:18:28 +02:00
|
|
|
|