Import env vars

This commit is contained in:
sfigato 2021-05-25 23:53:08 +02:00
parent dadbd6dace
commit b9da495722
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F

View File

@ -19,3 +19,8 @@ set $alacritty_term env WINIT_UNIX_BACKEND=x11 alacritty
set $files nautilus
set $lock swaylock -F -i ~/Pictures/screensaver.jpg
set $chbg ~/.bin/change-bg.sh
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK