.config/herbstluftwm/panel.sh
This commit is contained in:
parent
c17f805a21
commit
4c3b6f262a
1 changed files with 2 additions and 2 deletions
|
@ -66,10 +66,10 @@ function print_tags() {
|
||||||
function print_mailboxes() {
|
function print_mailboxes() {
|
||||||
declare -A mailnames
|
declare -A mailnames
|
||||||
mailboxes=(ninthfloor gmail arch aethon ryuslash.org)
|
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=""
|
mailtxt=""
|
||||||
for j in "${mailboxes[@]}"; do
|
for j in "${mailboxes[@]}"; do
|
||||||
mailfile="$HOME/documents/mail/$j/INBOX/new/"
|
mailfile="$HOME/documents/mail/$j/inbox/new/"
|
||||||
mailcnt=$(ls $mailfile | wc -l)
|
mailcnt=$(ls $mailfile | wc -l)
|
||||||
|
|
||||||
if [ $mailcnt -gt 0 ]; then
|
if [ $mailcnt -gt 0 ]; then
|
||||||
|
|
Loading…
Reference in a new issue