diff options
author | Joe <bousset.rudy@gmail.com> | 2022-08-17 16:49:52 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-08-17 16:49:52 +0200 |
commit | 117da3ff584b21e939bfa37a6756d32967ea9940 (patch) | |
tree | 13f6fa2265b899319d57b0f98332c0f4768fa5da /.local/bin/status/sb-mailbox | |
parent | update (diff) | |
download | dotfiles-bsd-117da3ff584b21e939bfa37a6756d32967ea9940.tar.gz dotfiles-bsd-117da3ff584b21e939bfa37a6756d32967ea9940.tar.bz2 dotfiles-bsd-117da3ff584b21e939bfa37a6756d32967ea9940.tar.xz dotfiles-bsd-117da3ff584b21e939bfa37a6756d32967ea9940.tar.zst dotfiles-bsd-117da3ff584b21e939bfa37a6756d32967ea9940.zip |
update
Diffstat (limited to '.local/bin/status/sb-mailbox')
-rwxr-xr-x | .local/bin/status/sb-mailbox | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/status/sb-mailbox b/.local/bin/status/sb-mailbox index 21a9ab0..74cf2a6 100755 --- a/.local/bin/status/sb-mailbox +++ b/.local/bin/status/sb-mailbox @@ -17,17 +17,17 @@ icon="" mb_a="$(ls "${MAIL:-/var/mail/jozan}"/bousset.rudy@gmail.com/INBOX/new/ | wc -l 2>/dev/null)" if [ "$mb_a" -gt 0 ]; then - echo -n " $icon A:" $mb_a + echo -n " $icon A:" $mb_a fi mb_b="$(ls "${MAIL:-/var/mail/jozan}"/olsen.oyvind.nor@gmail.com/INBOX/new/ | wc -l 2>/dev/null)" if [ "$mb_b" -gt 0 ]; then - echo -n " $icon B:" $mb_b + echo -n " $icon B:" $mb_b fi mb_c="$(ls "${MAIL:-/var/mail/jozan}"/rbousset@secuserve.com/INBOX/new/ | wc -l 2>/dev/null)" if [ "$mb_c" -gt 0 ]; then - echo -n " $icon C:" $mb_c + echo -n " $icon C:" $mb_c fi pidof mbsync >/dev/null 2>&1 && echo " " |