From f6d9ec62a1e4c7123e129ddf9de4e78cf8b73ca3 Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Mon, 14 Sep 2015 21:42:11 +0200 Subject: Fixed battery bug when charge < 10% Also fixed colors of pluto theme --- herbstluftwm/.config/herbstluftwm/panel_indicators.sh | 2 +- herbstluftwm/.config/herbstluftwm/themes/.gitignore | 1 + herbstluftwm/.config/herbstluftwm/themes/pluto | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 herbstluftwm/.config/herbstluftwm/themes/.gitignore (limited to 'herbstluftwm') diff --git a/herbstluftwm/.config/herbstluftwm/panel_indicators.sh b/herbstluftwm/.config/herbstluftwm/panel_indicators.sh index 8388c83..6686d14 100755 --- a/herbstluftwm/.config/herbstluftwm/panel_indicators.sh +++ b/herbstluftwm/.config/herbstluftwm/panel_indicators.sh @@ -128,7 +128,7 @@ battery() if [ $bat_state == "Charging" ] ; then bat_status="${battery_icon[5]}" elif [ $bat_lvl -lt 10 ] ; then - bat_status="${F$HLWM_ACCENT_ACOLOR}${battery_icon[0]}${F-}" + bat_status="%{F$HLWM_ACCENT_ACOLOR}${battery_icon[0]}%{F-}" elif [ $bat_lvl -lt 25 ] ; then bat_status="${battery_icon[1]}" elif [ $bat_lvl -lt 50 ] ; then diff --git a/herbstluftwm/.config/herbstluftwm/themes/.gitignore b/herbstluftwm/.config/herbstluftwm/themes/.gitignore new file mode 100644 index 0000000..1728046 --- /dev/null +++ b/herbstluftwm/.config/herbstluftwm/themes/.gitignore @@ -0,0 +1 @@ +./current diff --git a/herbstluftwm/.config/herbstluftwm/themes/pluto b/herbstluftwm/.config/herbstluftwm/themes/pluto index aa6fa6a..c58c9c2 100644 --- a/herbstluftwm/.config/herbstluftwm/themes/pluto +++ b/herbstluftwm/.config/herbstluftwm/themes/pluto @@ -2,8 +2,8 @@ declare -A colors colors=(["background"]="#030303" ["foreground"]="#DADADA" # Fore- and Background - ["color0"]="#030303" ["color8"]= "#181818" # Blacks - ["color1"]="#202020" ["color9"]= "#353535" # Reds + ["color0"]="#030303" ["color8"]="#181818" # Blacks + ["color1"]="#202020" ["color9"]="#353535" # Reds ["color2"]="#424242" ["color10"]="#575757" # Greens ["color3"]="#616161" ["color11"]="#767676" # Yellows ["color4"]="#808080" ["color12"]="#959595" # Blues -- cgit v1.2.3