herbstluftwm: panel: remove second space before time

This commit is contained in:
Thomas Preisner 2016-12-13 10:44:45 +01:00
parent f3a88d4b06
commit 69b5583821

View file

@ -189,7 +189,7 @@ hc pad $monitor $panel_height
right="${right} $(${func})"
done
right="${right} ^bg() $(icon clock2 green) $date"
right="${right} ^bg()$(icon clock2 green) $date"
right_text_only=$(echo -n "$right" | sed 's.\^[^(]*([^)]*)..g')
# get width of right aligned text.. and add some space..
width=$($textwidth "$font" "$right_text_only ")