From c38b2998a3b0ba25fd7ab5d079708cc2832871cc Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Tue, 27 Mar 2012 21:02:28 +0200 Subject: [PATCH] .config/herbstluftwm/panel.sh --- .config/herbstluftwm/panel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }