sdep-checkpast (397B)
1 #!/bin/sh 2 3 # Run this at boot to receive a notification about past events that you might 4 # have missed (based on sdep-list). 5 6 # Requires: a command to send notifications such as herbe or notify-send. 7 8 #notify="notify-send -t 3600000" 9 notify=herbe 10 11 sdep-list past | \ 12 while read text; do 13 date=$(echo "$text" | sed 's/\t.*//') 14 event=$(echo "$text" | sed 's/.*\t//') 15 $notify "$date" "$event" 16 done