[statusbar] add mailo slot to sb-mailbox
This commit is contained in:
parent
81f003243b
commit
116987ba42
@ -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)"
|
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
|
if [ $new -gt 0 ]; then
|
||||||
[ -n "$(echo "$acc" | sed -n '/@etu/p')" ] && box=""
|
[ -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"
|
unread="$unread/$box$new"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user