Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
315 B

  1. #! /bin/sh
  2. icon=
  3. events=$(calcurse -a | grep -- '->' | wc -l)
  4. if [ ! "$events" = "0" ]; then
  5. events="($events) "
  6. fi
  7. cmd=$(date +"%h %e")
  8. #echo "$ifg $icon $tfg$cmd"
  9. echo -n "^c#0f111a^^b#88c0d0^ $icon $events$cmd ^d^"
  10. case $BLOCK_BUTTON in
  11. 1) setsid -f st -c center -n center -e calcurse;;
  12. esac