summaryrefslogtreecommitdiffstats
path: root/.local/bin/status/sb-mailbox
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-09-28 10:58:26 +0200
committerJoe <bousset.rudy@gmail.com>2022-09-28 10:58:26 +0200
commit7c94bbe950f5a2554180774d0cfe45fff80f1731 (patch)
treec80950ca99d8b8b199116b053d30917f0797e638 /.local/bin/status/sb-mailbox
parentup (diff)
downloaddotfiles-bsd-7c94bbe950f5a2554180774d0cfe45fff80f1731.tar.gz
dotfiles-bsd-7c94bbe950f5a2554180774d0cfe45fff80f1731.tar.bz2
dotfiles-bsd-7c94bbe950f5a2554180774d0cfe45fff80f1731.tar.xz
dotfiles-bsd-7c94bbe950f5a2554180774d0cfe45fff80f1731.tar.zst
dotfiles-bsd-7c94bbe950f5a2554180774d0cfe45fff80f1731.zip
up
Diffstat (limited to '')
-rwxr-xr-x.local/bin/status/sb-mailbox14
1 files changed, 7 insertions, 7 deletions
diff --git a/.local/bin/status/sb-mailbox b/.local/bin/status/sb-mailbox
index 892607c..0dfcbd6 100755
--- a/.local/bin/status/sb-mailbox
+++ b/.local/bin/status/sb-mailbox
@@ -24,7 +24,7 @@ if pidof mbsync >/dev/null 2>&1; then
fi
case "$sync" in
- 0) [ "$mb_a" -gt 0 ] || [ "$mb_b" -gt 0 ] && echo -n " " ;;
+ 0) ([ "$mb_a" -gt 0 ] || [ "$mb_b" -gt 0 ] || [ "$mb_c" -gt 0 ] || [ "$mb_d" -gt 0 ]) && echo -n " " ;;
1) echo -n " " ;;
*) ;;
esac
@@ -34,7 +34,7 @@ if [ "$mb_a" -gt 0 ]; then
fi
if [ "$mb_a" -gt 0 ] && [ "$mb_b" -gt 0 ]; then
- echo -n " "
+ echo -n " - "
fi
if [ "$mb_b" -gt 0 ]; then
@@ -42,9 +42,9 @@ if [ "$mb_b" -gt 0 ]; then
fi
if [ "$mb_b" -gt 0 ] && [ "$mb_c" -gt 0 ]; then
- echo -n " "
+ echo -n " - "
elif [ "$mb_a" -gt 0 ] && [ "$mb_c" -gt 0 ]; then
- echo -n " "
+ echo -n " - "
fi
if [ "$mb_c" -gt 0 ]; then
@@ -52,11 +52,11 @@ if [ "$mb_c" -gt 0 ]; then
fi
if [ "$mb_c" -gt 0 ] && [ "$mb_d" -gt 0 ]; then
- echo -n " "
+ echo -n " - "
elif [ "$mb_b" -gt 0 ] && [ "$mb_d" -gt 0 ]; then
- echo -n " "
+ echo -n " - "
elif [ "$mb_a" -gt 0 ] && [ "$mb_d" -gt 0 ]; then
- echo -n " "
+ echo -n " - "
fi
if [ "$mb_d" -gt 0 ]; then