mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
Generalise shell/gpg
This commit is contained in:
parent
d6cc70b1b6
commit
fdb7fec9aa
1 changed files with 2 additions and 2 deletions
|
|
@ -2,9 +2,9 @@
|
||||||
#export GPG_TTY
|
#export GPG_TTY
|
||||||
#gpg-connect-agent updatestartuptty /bye >/dev/null
|
#gpg-connect-agent updatestartuptty /bye >/dev/null
|
||||||
|
|
||||||
if ps -u lloeki | grep -v grep | grep -q gpg-agent; then
|
if ps -u "${USER}" | grep -v grep | grep -q gpg-agent; then
|
||||||
:
|
:
|
||||||
elif type pinentry-rofi /dev/null 2>&1; then
|
elif type pinentry-rofi >/dev/null 2>&1; then
|
||||||
gpg-agent --homedir /home/lloeki/.gnupg --use-standard-socket --daemon --pinentry-program=/etc/profiles/per-user/lloeki/bin/pinentry-rofi
|
gpg-agent --homedir /home/lloeki/.gnupg --use-standard-socket --daemon --pinentry-program=/etc/profiles/per-user/lloeki/bin/pinentry-rofi
|
||||||
fi
|
fi
|
||||||
# vim: ft=bash
|
# vim: ft=bash
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue