citadel

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

commit 62d8cba91c7a308115595c4c56e853b9f79550ed
parent a1acbd03ee2280b2d49aab5f4c3ce3e8fe8edb86
Author: William Casarin <jb55@jb55.com>
Date:   Mon,  4 Jan 2021 10:49:54 -0800

email-status: cleanups

Diffstat:
Mbin/email-status | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/bin/email-status b/bin/email-status @@ -1,7 +1,6 @@ #!/usr/bin/env bash -queued=$(ls -1 /home/jb55/.msmtp.queue/*.mail | wc -l) +queued=$(ls -1 /home/jb55/.msmtp.queue/*.mail 2>/dev/null | wc -l) if [ $queued -gt 0 ]; then printf "%d queued emails\n" "$queued" fi -out=$(jctlu -n1 -u email-fetcher | tail -n1) -printf "$out\n" +jctlu -n1000 -u email-fetcher | less +G