From 69b5583821523d89859258ebe56860f6272253dd Mon Sep 17 00:00:00 2001 From: Thomas Preisner Date: Tue, 13 Dec 2016 10:44:45 +0100 Subject: [PATCH] herbstluftwm: panel: remove second space before time --- 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 a63cec0..b5917a0 100755 --- a/config/herbstluftwm/panel.sh +++ b/config/herbstluftwm/panel.sh @@ -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 ")