More changes to bar look.

This commit is contained in:
Bartek Stalewski 2021-07-26 16:52:58 +02:00
parent dc9d5df7e4
commit e0a52c52b0
4 changed files with 13 additions and 13 deletions

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
[ ! -e ~/.local/share/passwords ] && echo "no accounts configured" && exit 1
@ -13,4 +13,4 @@ for i in $(cat ~/.local/share/passwords); do
[ $count -ne 0 ] && export unread=$((unread + count))
fi
done
[ "$unread" -eq 0 ] && echo "no new mail" || echo "^c#161616^^b#fd4285^new mail: ${unread}^d^"
[ "$unread" -eq 0 ] && printf "\ue158 no new mail" || printf "^c#161616^^b#fd4285^\ue158 new mail: ${unread}^d^"