sb-clock (505B)
1 #!/bin/sh 2 3 case $1 in 4 1) notify-send "This Month" "$(cal | sed "s/\<$(date +'%e'|tr -d ' ')\>/<b><span color='red'>&<\/span><\/b>/")" && notify-send "Appointments" "$(calcurse -d3)" ;; 5 2) setsid -f "$TERMINAL" -e calcurse ;; 6 3) notify-send " Time/date module" "\- Left click to show upcoming appointments for the next three days via \`calcurse -d3\` and show the month via \`cal\` 7 - Middle click opens calcurse if installed" ;; 8 8) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 9 esac 10 11 date "+%H:%M"