.config/herbstluftwm/panel.sh

This commit is contained in:
Tom Willemsen 2012-03-20 17:01:26 +01:00
parent c17f805a21
commit 4c3b6f262a

View file

@ -66,10 +66,10 @@ function print_tags() {
function print_mailboxes() {
declare -A mailnames
mailboxes=(ninthfloor gmail arch aethon ryuslash.org)
mailnames=([ninthfloor]="9f" [gmail]="gm" [arch]="arc" [aethon]="aet" [ryuslash.org]="ryu")
mailnames=([ninthfloor]="9f" [gmail]="gm" [aethon]="aet" [ryuslash.org]="ryu")
mailtxt=""
for j in "${mailboxes[@]}"; do
mailfile="$HOME/documents/mail/$j/INBOX/new/"
mailfile="$HOME/documents/mail/$j/inbox/new/"
mailcnt=$(ls $mailfile | wc -l)
if [ $mailcnt -gt 0 ]; then