From cb505bb4e1b530517ac1cec704bded05a27f825b Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Thu, 3 Aug 2023 23:06:14 +0300 Subject: [PATCH] begin work on this --- config/dwm/scripts/bar.sh | 1 + 1 file changed, 1 insertion(+) 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" }