Add targeted Gufw compatibility for Sway sessions

- Remove the global xhost call from start-sway-session to keep Wayland startup clean
- Add a dedicated gufw wrapper and desktop override that temporarily grants Xwayland access only for gufw
This commit is contained in:
Fabio Scotto di Santolo
2026-04-24 10:27:57 +02:00
parent dc25960f08
commit 60f177f51c
5 changed files with 46 additions and 2 deletions

View File

@@ -24,6 +24,5 @@ exec dbus-run-session sh -eu -c '
printf "%s\n" "$DBUS_SESSION_BUS_ADDRESS" > "$HOME/.dbus-session-bus-address"
gpgconf --launch gpg-agent
"$HOME/.local/bin/update-turnstile-env"
xhost +local:
exec "$@"
' sh "$@"