diff --git a/scripts/battery_status.sh b/scripts/battery_status.sh index 9026e44..8ad47a1 100755 --- a/scripts/battery_status.sh +++ b/scripts/battery_status.sh @@ -1,7 +1,7 @@ -#!/usr/bin/env bash #check for acpi if command -v acpi &> /dev/null; then + bat=$(acpi -b) spd-say -P important -Cw "$bat" else find /sys/class/power_supply -type l -exec bash -c '