From 116987ba42ae76886d0f2b539ce998100e8b5112 Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Mon, 13 Dec 2021 20:29:27 +0100 Subject: [PATCH] [statusbar] add mailo slot to sb-mailbox --- .local/bin/statusbar/sb-mailbox | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.local/bin/statusbar/sb-mailbox b/.local/bin/statusbar/sb-mailbox index 1f7fd24..11dade1 100755 --- a/.local/bin/statusbar/sb-mailbox +++ b/.local/bin/statusbar/sb-mailbox @@ -16,7 +16,8 @@ do new="$(find "${XDG_DATA_HOME:-$HOME/.local/share}"/mail/$acc/[Ii][Nn][Bb][Oo][Xx]/new/* -type f | wc -l 2>/dev/null)" if [ $new -gt 0 ]; then [ -n "$(echo "$acc" | sed -n '/@etu/p')" ] && box="" - [ -n "$(echo "$acc" | sed -n '/@posteo/p')" ] && box="" + [ -n "$(echo "$acc" | sed -n '/@mailo/p')" ] && box="" + [ -n "$(echo "$acc" | sed -n '/@posteo/p')" ] && box="" unread="$unread/$box$new" fi done