From 722a028c8f2a5c2b3c626151035b4cbf1bac5a87 Mon Sep 17 00:00:00 2001 From: Aaron Hewitt Date: Thu, 1 Dec 2022 19:23:52 +0000 Subject: [PATCH] Actually applied the update properly. --- scripts/battery_status.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 '