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.

16 lines
468 B

4 years ago
3 years ago
4 years ago
3 years ago
4 years ago
3 years ago
  1. #!/bin/sh
  2. if ! xdpyinfo | grep -q VNC ; then
  3. [ -f "$HOME/.cache/mcount" ] && mcount=$(cat ~/.cache/mcount)
  4. [ -f "$HOME/.cache/msync" ] && msync=$(cat ~/.cache/msync)
  5. #echo -n "^c#a3be8c^ ^d^ $msync ^c#81a1c1^ ^d^ $mcount" (Takes more space)
  6. if [ ! "$mcount" = "0" ]; then
  7. echo -n "^c#81a1c1^ ^d^ $mcount"
  8. fi
  9. case $BLOCK_BUTTON in
  10. 1) setsid -f st -c center -n center -e neomutt;;
  11. 3) ~/.local/bin/mailsync;;
  12. esac
  13. fi