Start gnome-keyring with window manager
Replace calling gnome-keyring-daemon in every zsh instance with just sourcing the file the daemon returns on startup in i3. TODO: Use pam for that
This commit is contained in:
@@ -244,7 +244,7 @@ exec --no-startup-id /usr/libexec/gnome-settings-daemon-localeexec
|
|||||||
exec --no-startup-id dconf write /org/gnome/settings-daemon/plugins/cursor/active false
|
exec --no-startup-id dconf write /org/gnome/settings-daemon/plugins/cursor/active false
|
||||||
|
|
||||||
# Launch gnome-keyring
|
# Launch gnome-keyring
|
||||||
exec --no-startup-id gnome-keyring-daemon
|
exec --no-startup-id gnome-keyring-daemon --start
|
||||||
|
|
||||||
# Focus should not follow mouse
|
# Focus should not follow mouse
|
||||||
# This is sometimes usefull when picking colors on the screen in combination with deactivated dim
|
# This is sometimes usefull when picking colors on the screen in combination with deactivated dim
|
||||||
|
|||||||
5
.zshenv
5
.zshenv
@@ -3,9 +3,8 @@
|
|||||||
|
|
||||||
setopt NO_GLOBAL_RCS
|
setopt NO_GLOBAL_RCS
|
||||||
|
|
||||||
if [ -n "$DESKTOP_SESSION" ]; then
|
if [ -n "$DESKTOP_SESSION" ] && [ -e /run/user/1000/keyring/ssh ]; then
|
||||||
eval $(/usr/bin/gnome-keyring-daemon --start)
|
export SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
|
||||||
export SSH_AUTH_SOCK
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export XDG_CONFIG_HOME="$HOME/.config"
|
export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
|
|||||||
Reference in New Issue
Block a user