diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh index 30080cc..3306cff 100755 --- a/.config/herbstluftwm/panel.sh +++ b/.config/herbstluftwm/panel.sh @@ -87,7 +87,7 @@ function print_mailboxes() { # echo -n "^fg($mailcolor)^ro(${tag_width}x$height)^fg()$separator" done 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" }