summaryrefslogtreecommitdiff
path: root/ar
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-02 17:54:46 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-02 17:54:46 +0900
commitbbc67617dedb6ac1da68af0d0778d9e41695f967 (patch)
tree4313bf3b434884b47d5cbeecdd03e4d9b7446181 /ar
parent5dd5b6e099c1b9deea197d89e1d889bd0392e860 (diff)
modified statusbar/sb-mailbox
Diffstat (limited to 'ar')
-rwxr-xr-xar/.local/bin/statusbar/sb-mailbox2
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="🔃"