21 lines
260 B
Plaintext
21 lines
260 B
Plaintext
|
#!/usr/bin/env fish
|
||
|
# vim: syntax=fish:
|
||
|
|
||
|
if not test "$DISPLAY"
|
||
|
exit 0
|
||
|
end
|
||
|
|
||
|
vdirsyncer sync
|
||
|
|
||
|
set content (khal at)
|
||
|
|
||
|
if test "$content" != "No events"
|
||
|
notify-send \
|
||
|
-a 'Calendar Reminder' \
|
||
|
-u critical \
|
||
|
-i dialog-information \
|
||
|
"$content"
|
||
|
end
|
||
|
|
||
|
## EOF
|