make sure gpg is unlocked

This commit is contained in:
lelgenio 2021-08-10 22:48:36 -03:00
parent b3cf1bfe3e
commit c4c674da00
2 changed files with 2 additions and 1 deletions

View file

@ -7,6 +7,7 @@ PATH={{@@ env['PATH'] @@}}
*/5 * * * * checkmail update
*/5 * * * * vdirsyncer sync
*/30 * * * * savegame_backup
*/30 * * * * _gpg-unlock
# {%@@ endif @@%} #
# vim: commentstring=#\ %s

View file

@ -13,7 +13,7 @@ die() {
test "$?" = 0 ||
notify-send "Failed to sync mail" "try unlocking your gpg key"
}
trap die EXIT
# trap die EXIT
getnew() {
pushd "$HOME/.local/share/mail/" >/dev/null