Actually applied the update properly.
This commit is contained in:
1 parent
9d664036a1
commit
722a028c8f
1 file changed
+1
-1
@@ -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 '
|
||||||
|
|||||||
Reference in new issue
Block a user