fish: unlock gpg at login
This commit is contained in:
parent
2ea71424a7
commit
bd8e803a8d
1 changed files with 6 additions and 3 deletions
|
@ -96,6 +96,9 @@ gpg-connect-agent updatestartuptty /bye > /dev/null
|
||||||
# This must be at the bottom of this file
|
# This must be at the bottom of this file
|
||||||
if status --is-login
|
if status --is-login
|
||||||
if test -z "$DISPLAY" -a $XDG_VTNR = 1
|
if test -z "$DISPLAY" -a $XDG_VTNR = 1
|
||||||
|
# Unlock GPG keyring befor starting X.
|
||||||
|
# This makes some things easier.
|
||||||
|
echo "gpg unlock" | gpg -se -r me@mmk2410.org > /dev/null
|
||||||
exec startx -- -keeptty
|
exec startx -- -keeptty
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue