Fix auto unlock gpg

This commit is contained in:
lelgenio 2022-11-30 14:39:55 -03:00 committed by Leonardo Eugênio
parent 7509584630
commit b130c3fc4d
2 changed files with 3 additions and 2 deletions

View file

@ -2,7 +2,7 @@
pkgs.writeShellScriptBin "_gpg-unlock" ''
${pkgs.gnupg}/bin/gpg-connect-agent reloadagent /bye
set -xe
set -e
test -f "$HOME/.config/.preset-password" || {
notify-send "No preset password found"