From a51e94240eaecb3fac0725aeefa9dde0083ad4f0 Mon Sep 17 00:00:00 2001 From: histalek Date: Thu, 27 Oct 2022 23:06:09 +0200 Subject: [PATCH] sway: Update systemd import environment vars --- .config/sway/conf.d/autoruns | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/sway/conf.d/autoruns b/.config/sway/conf.d/autoruns index 611a474..eff40d2 100644 --- a/.config/sway/conf.d/autoruns +++ b/.config/sway/conf.d/autoruns @@ -7,7 +7,7 @@ exec_always /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # Make sure the systemd user session gets all envs -exec_always "systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK" +exec_always "systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP SWAYSOCK" exec_always "dbus-update-activation-environment --all --systemd" # Not needed if started via Systemd