diff options
Diffstat (limited to 'dotfiles/.config/calcurse/hooks/pre-load')
| -rwxr-xr-x | dotfiles/.config/calcurse/hooks/pre-load | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dotfiles/.config/calcurse/hooks/pre-load b/dotfiles/.config/calcurse/hooks/pre-load index 20787fe..e278962 100755 --- a/dotfiles/.config/calcurse/hooks/pre-load +++ b/dotfiles/.config/calcurse/hooks/pre-load @@ -11,16 +11,16 @@ cd "$data_dir" || exit if [ -d caldav ] && command -v calcurse-caldav >/dev/null; then ( date="$(date +'%b %d %H:%M:%S')" - notify-send "📅 Calcurse" "Loading and syncing with caldav server..." + notify-send -a "Calcurse" -i plan -e "Loading and syncing with caldav server..." echo "$date Running calcurse-caldav from the pre-load hook..." timeout 60 calcurse-caldav rc=$? if [ $rc -eq 124 ]; then - notify-send "📅 Calcurse" "❌ Syncing timed out" + notify-send -a "Calcurse" -i dialog-error -e "Syncing timed out" elif [ $rc -gt 0 ]; then - notify-send "📅 Calcurse" "❌ Syncing failed (see logs)" + notify-send -a "Calcurse" -i dialog-error -e "Syncing failed (see logs)" else - notify-send "📅 Calcurse" "Calendar synced" + notify-send -a "Calcurse" -i plan -e "Calendar synced" fi echo rm caldav/lock |
