From 5b2b7a366243e576777608adf9b79f8ac7b78462 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 4 Aug 2023 18:04:03 +0300 Subject: [PATCH] fix script --- config/dwm/scripts/bar.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }