Fix variables not getting passed to user services
This commit is contained in:
parent
33127a072e
commit
eb00e209e6
2 changed files with 5 additions and 3 deletions
|
@ -10,6 +10,7 @@
|
|||
destination = "/bin/dbus-sway-environment";
|
||||
executable = true;
|
||||
text = ''
|
||||
systemctl --user import-environment
|
||||
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||
systemctl --user stop pipewire pipewire-media-session xdg-desktop-portal xdg-desktop-portal-wlr
|
||||
systemctl --user start pipewire pipewire-media-session xdg-desktop-portal xdg-desktop-portal-wlr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue