sway: Update systemd import environment vars

This commit is contained in:
histalek 2022-10-27 23:06:09 +02:00
parent 851d576976
commit a51e94240e
No known key found for this signature in database
GPG key ID: ED1D6449704FDE03

View file

@ -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