diff options
author | Toby Vincent <tobyv13@gmail.com> | 2022-03-31 23:30:29 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2022-03-31 23:30:29 -0500 |
commit | a8448d53f7fdc8aa36689df29eea7cb9ce057dde (patch) | |
tree | a8c27087bb099e12a7bd0f781ca2ae7c1368b4c5 /zsh/.config | |
parent | cdcd7570cfefb5e0f67d2a7c42755466e0ee29c7 (diff) |
fix: another attempt at fixing pinentry
Diffstat (limited to 'zsh/.config')
-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 |