.config/herbstluftwm/panel.sh
This commit is contained in:
parent
1175754ea3
commit
c38b2998a3
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue