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.

19 lines
332 B

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