diff --git a/ansible/inventory/group_vars/desktop.yml b/ansible/inventory/group_vars/desktop.yml index 2be9372..6141416 100644 --- a/ansible/inventory/group_vars/desktop.yml +++ b/ansible/inventory/group_vars/desktop.yml @@ -66,6 +66,7 @@ desktop_sway_packages: - swayfx - wl-clipboard - xdg-desktop-portal-wlr + - xhost - xorg-server-xwayland profile_packages: diff --git a/dotfiles/desktop/.local/bin/start-sway-session b/dotfiles/desktop/.local/bin/start-sway-session index 025fe6a..86c0065 100644 --- a/dotfiles/desktop/.local/bin/start-sway-session +++ b/dotfiles/desktop/.local/bin/start-sway-session @@ -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 "$@"