From 76c7d4877d71a853949243351068cb82617cc3cb Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Thu, 9 Jul 2026 20:33:49 -0400 Subject: fixed monitor battery --- scripts/system/monitor-battery | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/system/monitor-battery') diff --git a/scripts/system/monitor-battery b/scripts/system/monitor-battery index 94b7365..4712c98 100755 --- a/scripts/system/monitor-battery +++ b/scripts/system/monitor-battery @@ -19,8 +19,8 @@ while true; do fi # notify every percent if very low - if [ $cap -le $very_low_threshold ] && [ $status -ne "Charging" ]; then - notify-send "BATTERY LOW" "Battery is at $bat%" + if [ $cap -le $very_low_threshold ] && [ $status != "Charging" ]; then + notify-send "BATTERY LOW" "Battery is at $cap%" fi fi -- cgit v1.2.3