aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2015-08-31 21:33:48 +0200
committerGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2015-08-31 21:33:48 +0200
commit453b0acde1e8c4c7a1786ed5740d05f0330b5176 (patch)
treebb86c4a475005fb4c69d084c7c269a3428017189
parent8560ce29a58ce21e27f8688c7f7dbf79013afd3e (diff)
downloaddotfiles-453b0acde1e8c4c7a1786ed5740d05f0330b5176.tar.gz
dotfiles-453b0acde1e8c4c7a1786ed5740d05f0330b5176.tar.bz2
dotfiles-453b0acde1e8c4c7a1786ed5740d05f0330b5176.zip
Fixed duplicate panel
-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