diff options
Diffstat (limited to 'zsh/.config/zsh/.zlogin')
-rw-r--r-- | zsh/.config/zsh/.zlogin | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/zsh/.config/zsh/.zlogin b/zsh/.config/zsh/.zlogin index 19f20c6..1e45b44 100644 --- a/zsh/.config/zsh/.zlogin +++ b/zsh/.config/zsh/.zlogin @@ -1,2 +1,9 @@ -export DISPLAY=":0.0" -export XDG_SESSION_TYPE=wayland
\ No newline at end of file +export DISPLAY=':0' +export WAYLAND_DISPLAY=0 +export XDG_SESSION_TYPE=wayland + +systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XDG_SESSION_TYPE + +if command -v dbus-update-activation-environment >/dev/null 2>&1; then + dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY XDG_SESSION_TYPE +fi
\ No newline at end of file |