1 2 3 4 5 6 7 8
#!/bin/sh date +" %a %b %d " case $BLOCK_BUTTON in 1) notify-send -a " Calendar" "$(cal | tail -n +2)" ;; 6) "$TERMINAL" -e "$EDITOR" "$0" ;; esac