diff --git a/config/dwm/scripts/bar.sh b/config/dwm/scripts/bar.sh index 1194b78a..ef2605c2 100755 --- a/config/dwm/scripts/bar.sh +++ b/config/dwm/scripts/bar.sh @@ -29,7 +29,7 @@ battery() { get_status="$(cat /sys/class/power_supply/BAT1/status)" case "$get_status" in Charging) printf "^c$blue^ Charging $get_capacity" ;; - Discharging) $(lowbattery) ;; + Discharging) lowbattery() ;; esac #printf "^c$blue^  $get_capacity" }