2019-08-17 17:34:01 -07:00
|
|
|
#!/usr/bin/env fish
|
|
|
|
|
|
|
|
if not test "$DISPLAY"
|
|
|
|
exit 0
|
|
|
|
end
|
|
|
|
|
|
|
|
vdirsyncer sync
|
|
|
|
|
2019-08-18 00:28:19 -07:00
|
|
|
set content (khal list today tomorrow)
|
2019-08-17 17:34:01 -07:00
|
|
|
|
|
|
|
if test "$content" != "No events"
|
|
|
|
notify-send \
|
|
|
|
-a 'Calendar Reminder' \
|
|
|
|
-u critical \
|
|
|
|
-i dialog-information \
|
|
|
|
"$content"
|
|
|
|
end
|
|
|
|
|
|
|
|
## EOF
|