From: Martin Pitt Date: Wed, 11 Jan 2023 09:27:47 +0000 (+0100) Subject: backup: Fix notification X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=a60e2d543670d0b3e63af2551e9c7e71a9894ce4;p=bin.git backup: Fix notification Timeout is in milliseconds. mako does not do stock icon lookup, specify the full path. --- diff --git a/backup b/backup index 421fde9..1fa71c3 100755 --- a/backup +++ b/backup @@ -6,7 +6,7 @@ PATH=$PATH:/sbin:/usr/sbin RESTIC="restic --password-file $HOME/.config/backup-passphrase --repo sftp:piware.de:backup/restic" fail() { - notify-send -i network-error-symbolic -u critical -t 180 "${1:-BACKUP FAILED!}" + notify-send -i /usr/share/icons/Adwaita/48x48/status/network-error-symbolic.symbolic.png -u critical -t 180000 "${1:-BACKUP FAILED!}" exit 1 }