herbstluftwm: panel: remove second space before time
This commit is contained in:
parent
f3a88d4b06
commit
69b5583821
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ hc pad $monitor $panel_height
|
||||||
right="${right} $(${func})"
|
right="${right} $(${func})"
|
||||||
done
|
done
|
||||||
|
|
||||||
right="${right} ^bg() $(icon clock2 green) $date"
|
right="${right} ^bg()$(icon clock2 green) $date"
|
||||||
right_text_only=$(echo -n "$right" | sed 's.\^[^(]*([^)]*)..g')
|
right_text_only=$(echo -n "$right" | sed 's.\^[^(]*([^)]*)..g')
|
||||||
# get width of right aligned text.. and add some space..
|
# get width of right aligned text.. and add some space..
|
||||||
width=$($textwidth "$font" "$right_text_only ")
|
width=$($textwidth "$font" "$right_text_only ")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue