From e8abf78f6ebddce80ab15d319579d8144c4ab7a0 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Thu, 15 Sep 2022 17:32:45 +0200 Subject: [PATCH] add missing env var for seahorse and gnome-keyring XAUTHORITY --- roles/sway/templates/config.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/sway/templates/config.j2 b/roles/sway/templates/config.j2 index 550b9ba..4f744ea 100644 --- a/roles/sway/templates/config.j2 +++ b/roles/sway/templates/config.j2 @@ -208,7 +208,7 @@ exec_always bash -c "pgrep -x mako || mako" # xdg-desktop-portal-wlr {% if ansible_service_mgr == "systemd" %} -exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_TYPE +exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_TYPE XAUTHORITY {% else %} exec dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway {% endif %}