Actually applied the update properly.

This commit is contained in:
Aaron Hewitt 2022-12-01 19:23:52 +00:00
parent 9d664036a1
commit 722a028c8f

View File

@ -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 '