summaryrefslogtreecommitdiff
path: root/.dwm
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2023-08-06 09:42:56 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2023-08-06 09:42:56 +0530
commit64db9a816f2ca3e2ad34fb79ffb8a8522333fc18 (patch)
tree300efa872d95483a5d42c877dd6c25ac0fd0da92 /.dwm
parent0c0b41a176ebd5f2683da0c3857b947bc3622c4c (diff)
accomodate for full battery
Diffstat (limited to '')
-rwxr-xr-x.dwm/bar.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/.dwm/bar.sh b/.dwm/bar.sh
index a57306e..3bef7b2 100755
--- a/.dwm/bar.sh
+++ b/.dwm/bar.sh
@@ -5,6 +5,7 @@ battery() {
case "$(cat /sys/class/power_supply/BAT1/status)" in
Charging) printf " $capacity +";;
Discharging) printf " $capacity -";;
+ Full) printf " $capacity";;
esac
}