summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharlie39 <charlie39@users.noreply.github.com>2020-03-04 20:23:18 +0530
committerGitHub <noreply@github.com>2020-03-04 09:53:18 -0500
commitccf8e188c1d7c7b0bf1413c7b856e9dae485ce7c (patch)
tree54d057197e3602b511579096fbfe9e1a3b502ac2
parent884b14145a224a2dbc96bcccdd6b47fe00c48d83 (diff)
downloadeibhear-ccf8e188c1d7c7b0bf1413c7b856e9dae485ce7c.tar.gz
eibhear-ccf8e188c1d7c7b0bf1413c7b856e9dae485ce7c.tar.zst
eibhear-ccf8e188c1d7c7b0bf1413c7b856e9dae485ce7c.zip
Added instructive suggestion in the comments (#488)
It looks more mass appealing with the details.
-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 d1631db..d9506f0 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