diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2026-07-09 20:33:49 -0400 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2026-07-09 20:33:49 -0400 |
| commit | 76c7d4877d71a853949243351068cb82617cc3cb (patch) | |
| tree | 1f1c2d0518e4b979813aea90df47b5bab5078664 /scripts | |
| parent | bdf9a71ab7baa2b1de9abcfd5df1a9107a55d141 (diff) | |
fixed monitor battery
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/system/monitor-battery | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
