mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
Desktop Sway: add xhost for polkit authentication compatibility
This commit is contained in:
@@ -66,6 +66,7 @@ desktop_sway_packages:
|
||||
- swayfx
|
||||
- wl-clipboard
|
||||
- xdg-desktop-portal-wlr
|
||||
- xhost
|
||||
- xorg-server-xwayland
|
||||
|
||||
profile_packages:
|
||||
|
||||
@@ -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 "$@"
|
||||
|
||||
Reference in New Issue
Block a user