.config/herbstluftwm/panel.sh

This commit is contained in:
Tom Willemsen 2012-03-27 21:02:28 +02:00
parent 1175754ea3
commit c38b2998a3

View file

@ -87,7 +87,7 @@ function print_mailboxes() {
# echo -n "^fg($mailcolor)^ro(${tag_width}x$height)^fg()$separator" # echo -n "^fg($mailcolor)^ro(${tag_width}x$height)^fg()$separator"
done done
mailtxt_only=$(echo -n "$mailtxt" | sed 's.\^[^(]*([^)]*)..g') mailtxt_only=$(echo -n "$mailtxt" | sed 's.\^[^(]*([^)]*)..g')
let mailtxt_width=$(textwidth "$font" "$mailtxt_only") let mailtxt_width=$(textwidth "$font" "$mailtxt_only")+5
echo -n "^p(_RIGHT)^p(-$mailtxt_width)$mailtxt" echo -n "^p(_RIGHT)^p(-$mailtxt_width)$mailtxt"
} }