mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 23:49:56 +00:00
Desktop Sway: add xhost for polkit authentication compatibility
This commit is contained in:
@@ -66,6 +66,7 @@ desktop_sway_packages:
|
|||||||
- swayfx
|
- swayfx
|
||||||
- wl-clipboard
|
- wl-clipboard
|
||||||
- xdg-desktop-portal-wlr
|
- xdg-desktop-portal-wlr
|
||||||
|
- xhost
|
||||||
- xorg-server-xwayland
|
- xorg-server-xwayland
|
||||||
|
|
||||||
profile_packages:
|
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"
|
printf "%s\n" "$DBUS_SESSION_BUS_ADDRESS" > "$HOME/.dbus-session-bus-address"
|
||||||
gpgconf --launch gpg-agent
|
gpgconf --launch gpg-agent
|
||||||
"$HOME/.local/bin/update-turnstile-env"
|
"$HOME/.local/bin/update-turnstile-env"
|
||||||
|
xhost +local:
|
||||||
exec "$@"
|
exec "$@"
|
||||||
' sh "$@"
|
' sh "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user