[mail] fix: remove "etu" counter in statusbar
This commit is contained in:
parent
f86fa9b2cf
commit
e949adecdb
@ -15,7 +15,7 @@ for acc in $(ls "${XDG_DATA_HOME:-$HOME/.local/share}"/mail/)
|
|||||||
do
|
do
|
||||||
new="$(find "${XDG_DATA_HOME:-$HOME/.local/share}"/mail/$acc/*/new/ -type f | grep -iv "trash" | wc -l 2>/dev/null)"
|
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
|
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 '/@mailo/p')" ] && box=""
|
||||||
[ -n "$(echo "$acc" | sed -n '/@posteo/p')" ] && box=""
|
[ -n "$(echo "$acc" | sed -n '/@posteo/p')" ] && box=""
|
||||||
unread="$unread/$box$new"
|
unread="$unread/$box$new"
|
||||||
|
Reference in New Issue
Block a user