diff --git a/config/dwm/scripts/bar.sh b/config/dwm/scripts/bar.sh index 71ddaa4d..0a6ac8ef 100755 --- a/config/dwm/scripts/bar.sh +++ b/config/dwm/scripts/bar.sh @@ -17,6 +17,7 @@ cpu() { battery() { get_capacity="$(cat /sys/class/power_supply/BAT1/capacity)" + get_status="$(cat /sys/class/power_supply/BAT1/status)" printf "^c$blue^  $get_capacity" }