make sure gpg is unlocked
This commit is contained in:
parent
b3cf1bfe3e
commit
c4c674da00
2 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ PATH={{@@ env['PATH'] @@}}
|
|||
*/5 * * * * checkmail update
|
||||
*/5 * * * * vdirsyncer sync
|
||||
*/30 * * * * savegame_backup
|
||||
*/30 * * * * _gpg-unlock
|
||||
# {%@@ endif @@%} #
|
||||
|
||||
# vim: commentstring=#\ %s
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue