Desktop Sway: add xhost for polkit authentication compatibility

This commit is contained in:
Fabio Scotto di Santolo
2026-04-24 00:26:39 +02:00
parent 781f366fe7
commit a57685d377
2 changed files with 2 additions and 0 deletions

View File

@@ -66,6 +66,7 @@ desktop_sway_packages:
- swayfx
- wl-clipboard
- xdg-desktop-portal-wlr
- xhost
- xorg-server-xwayland
profile_packages:

View File

@@ -24,5 +24,6 @@ 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 "$@"