citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

email-status (196B)


      1 #!/usr/bin/env bash
      2 queued=$(ls -1 /home/jb55/.msmtp.queue/*.mail 2>/dev/null | wc -l)
      3 if [ $queued -gt 0 ]; then
      4 	printf "%d queued emails\n" "$queued"
      5 fi
      6 jctlu -n1000 -u email-fetcher | less +G