Actually applied the update properly.
This commit is contained in:
parent
9d664036a1
commit
722a028c8f
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#check for acpi
|
#check for acpi
|
||||||
if command -v acpi &> /dev/null; then
|
if command -v acpi &> /dev/null; then
|
||||||
|
bat=$(acpi -b)
|
||||||
spd-say -P important -Cw "$bat"
|
spd-say -P important -Cw "$bat"
|
||||||
else
|
else
|
||||||
find /sys/class/power_supply -type l -exec bash -c '
|
find /sys/class/power_supply -type l -exec bash -c '
|
||||||
|
Loading…
Reference in New Issue
Block a user