aboutsummaryrefslogtreecommitdiffstats
path: root/herbstluftwm
diff options
context:
space:
mode:
Diffstat (limited to 'herbstluftwm')
-rwxr-xr-xherbstluftwm/.config/herbstluftwm/populate_panel.sh2
-rwxr-xr-xherbstluftwm/.config/herbstluftwm/start_panel.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/herbstluftwm/.config/herbstluftwm/populate_panel.sh b/herbstluftwm/.config/herbstluftwm/populate_panel.sh
index f7ada8a..7afa0c3 100755
--- a/herbstluftwm/.config/herbstluftwm/populate_panel.sh
+++ b/herbstluftwm/.config/herbstluftwm/populate_panel.sh
@@ -3,6 +3,8 @@
3source "$HLWM_CONF_DIR/themes/current" 3source "$HLWM_CONF_DIR/themes/current"
4source "$HLWM_CONF_DIR/panel_indicators.sh" 4source "$HLWM_CONF_DIR/panel_indicators.sh"
5 5
6monitor=$1
7
6if awk -Wv 2>/dev/null | head -1 | grep -q '^mawk'; then 8if awk -Wv 2>/dev/null | head -1 | grep -q '^mawk'; then
7 # mawk needs "-W interactive" to line-buffer stdout correctly 9 # mawk needs "-W interactive" to line-buffer stdout correctly
8 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593504 10 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593504
diff --git a/herbstluftwm/.config/herbstluftwm/start_panel.sh b/herbstluftwm/.config/herbstluftwm/start_panel.sh
index 9f637da..e573a53 100755
--- a/herbstluftwm/.config/herbstluftwm/start_panel.sh
+++ b/herbstluftwm/.config/herbstluftwm/start_panel.sh
@@ -27,7 +27,7 @@ panel_width=$(echo "${geometry[2]} - (2 * $window_p)" | bc)
27hc pad $monitor $(echo "$panel_h + $window_p" | bc) 27hc pad $monitor $(echo "$panel_h + $window_p" | bc)
28 28
29# Start the panel 29# Start the panel
30$HLWM_CONF_DIR/populate_panel.sh | 30$HLWM_CONF_DIR/populate_panel.sh $monitor |
31lemonbar -g ${panel_width}x${panel_h}+${x}+${y} -f "$font" -f "$icon_font" -u2 -B$acolor_bg -F$acolor_fg | 31lemonbar -g ${panel_width}x${panel_h}+${x}+${y} -f "$font" -f "$icon_font" -u2 -B$acolor_bg -F$acolor_fg |
32$HLWM_CONF_DIR/panel_handler.sh 32$HLWM_CONF_DIR/panel_handler.sh
33 33