From 2d4a94dcacea29ca3d2177eeaea38eb8ca47636d Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Wed, 9 Sep 2015 13:26:27 +0200 Subject: Fixed battery icon. I'm stupid --- herbstluftwm/.config/herbstluftwm/panel_indicators.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/herbstluftwm/.config/herbstluftwm/panel_indicators.sh b/herbstluftwm/.config/herbstluftwm/panel_indicators.sh index 487cda3..0ad6996 100755 --- a/herbstluftwm/.config/herbstluftwm/panel_indicators.sh +++ b/herbstluftwm/.config/herbstluftwm/panel_indicators.sh @@ -117,9 +117,9 @@ battery() bat_status="${battery_icon[5]}" elif [ $bat_lvl -lt 10 ] ; then bat_status="${F$HLWM_ACCENT_ACOLOR}${battery_icon[0]}${F-}" - elif [ $bat_ -lt 25 ] ; then + elif [ $bat_lvl -lt 25 ] ; then bat_status="${battery_icon[1]}" - elif [ $bat_ -lt 50 ] ; then + elif [ $bat_lvl -lt 50 ] ; then bat_status="${battery_icon[2]}" elif [ $bat_lvl -lt 75 ] ; then bat_status="${battery_icon[3]}" -- cgit v1.2.3