summaryrefslogtreecommitdiffstats
path: root/.local/bin/statusbar/battery
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-03-13 12:33:30 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-03-13 12:33:30 -0400
commita2e0d2441b56886049892481178a119948fb7866 (patch)
tree1cd5327e049e6947ba4c6665115290d51e3ba201 /.local/bin/statusbar/battery
parent6c7358074dd25590b4d7c20506b20d80499dd66b (diff)
parentccf8e188c1d7c7b0bf1413c7b856e9dae485ce7c (diff)
downloadeibhear-a2e0d2441b56886049892481178a119948fb7866.tar.gz
eibhear-a2e0d2441b56886049892481178a119948fb7866.tar.zst
eibhear-a2e0d2441b56886049892481178a119948fb7866.zip
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat (limited to '.local/bin/statusbar/battery')
-rwxr-xr-x.local/bin/statusbar/battery2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/battery b/.local/bin/statusbar/battery
index c52d9de..e8b0554 100755
--- a/.local/bin/statusbar/battery
+++ b/.local/bin/statusbar/battery
@@ -1,5 +1,5 @@
#!/bin/sh
-# Give a battery name (e.g. BAT0) as an argument.
+# Give a battery name (Check the battery name from sys/class/power_supply/ e.g. BAT0 or BAT1 and pass it as an argument.
case $BLOCK_BUTTON in
3) pgrep -x dunst >/dev/null && notify-send "🔋 Battery module" "🔋: discharging