Added instructive suggestion in the comments (#488)
It looks more mass appealing with the details.
This commit is contained in:
parent
884b14145a
commit
ccf8e188c1
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/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
|
case $BLOCK_BUTTON in
|
||||||
3) pgrep -x dunst >/dev/null && notify-send "🔋 Battery module" "🔋: discharging
|
3) pgrep -x dunst >/dev/null && notify-send "🔋 Battery module" "🔋: discharging
|
||||||
|
|
Loading…
Reference in a new issue