xprofile: Auto-unlock Gnome keyring (and use it as SSH key agent)
This commit is contained in:
parent
89297b5ebc
commit
aec57cbdcd
|
|
@ -22,6 +22,10 @@ xmodmap -e "keysym Menu = Super_R"
|
|||
# Register screen locker
|
||||
xss-lock -- i3lock -n -eft -i ~/.wallpapers/lockscreen &
|
||||
|
||||
# Auto-unlock Gnome keyring (and use it as SSH key agent)
|
||||
eval $(gnome-keyring-daemon --start)
|
||||
export SSH_AUTH_SOCK
|
||||
|
||||
# Start polkit authentication agent
|
||||
POLKIT_AUTH_AGENT=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
[ -f $POLKIT_AUTH_AGENT ] && $POLKIT_AUTH_AGENT &
|
||||
|
|
|
|||
Loading…
Reference in New Issue