diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-02 17:54:46 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-02 17:54:46 +0900 |
| commit | bbc67617dedb6ac1da68af0d0778d9e41695f967 (patch) | |
| tree | 4313bf3b434884b47d5cbeecdd03e4d9b7446181 /ar | |
| parent | 5dd5b6e099c1b9deea197d89e1d889bd0392e860 (diff) | |
modified statusbar/sb-mailbox
Diffstat (limited to 'ar')
| -rwxr-xr-x | ar/.local/bin/statusbar/sb-mailbox | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ar/.local/bin/statusbar/sb-mailbox b/ar/.local/bin/statusbar/sb-mailbox index 4496efc..c772a0d 100755 --- a/ar/.local/bin/statusbar/sb-mailbox +++ b/ar/.local/bin/statusbar/sb-mailbox @@ -16,7 +16,7 @@ case $BLOCK_BUTTON in 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; esac -unread="$(find "${XDG_DATA_HOME:-${HOME}/.local/share}"/mail/*/[Ii][Nn][Bb][Oo][Xx]/new/* -type f | wc -l 2>/dev/null)" +unread="$(find "${XDG_DATA_HOME:-${HOME}/.local/share}"/mail/*/[Ii][Nn][Bb][Oo][Xx]/new/* -type f 2>/dev/null | wc -l)" pidof mbsync >/dev/null 2>&1 && icon="🔃" |
