From e949adecdb4bec1e963f59963ae2d56397c13417 Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Fri, 14 Jan 2022 10:52:22 +0100 Subject: [PATCH] [mail] fix: remove "etu" counter in statusbar --- .local/bin/statusbar/sb-mailbox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/statusbar/sb-mailbox b/.local/bin/statusbar/sb-mailbox index 4004638..04eb472 100755 --- a/.local/bin/statusbar/sb-mailbox +++ b/.local/bin/statusbar/sb-mailbox @@ -15,7 +15,7 @@ for acc in $(ls "${XDG_DATA_HOME:-$HOME/.local/share}"/mail/) do new="$(find "${XDG_DATA_HOME:-$HOME/.local/share}"/mail/$acc/*/new/ -type f | grep -iv "trash" | wc -l 2>/dev/null)" if [ $new -gt 0 ]; then - [ -n "$(echo "$acc" | sed -n '/@etu/p')" ] && box="" + [ -n "$(echo "$acc" | sed -n '/@ens/p')" ] && box="" [ -n "$(echo "$acc" | sed -n '/@mailo/p')" ] && box="" [ -n "$(echo "$acc" | sed -n '/@posteo/p')" ] && box="" unread="$unread/$box$new"