FIX gnome keyring on some setups

This commit is contained in:
Nathan Dwarshuis 2024-02-29 16:19:23 -05:00
parent 95c6055d3b
commit d11d721a75
1 changed files with 4 additions and 0 deletions

View File

@ -2,9 +2,13 @@
userresources="$XDG_CONFIG_HOME/X11/xresources" userresources="$XDG_CONFIG_HOME/X11/xresources"
# give systemd X11 env goodies
systemctl --user import-environment PATH systemctl --user import-environment PATH
systemctl --user import-environment DISPLAY systemctl --user import-environment DISPLAY
# ditto for dbus (needed sometimes for gnome-keyring to work)
source /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
if [ -f "$userresources" ]; then if [ -f "$userresources" ]; then
xrdb -merge "$userresources" xrdb -merge "$userresources"
fi fi