diff options
| author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-11-03 15:42:19 +0000 |
|---|---|---|
| committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-11-03 15:42:19 +0000 |
| commit | 1241cc216dee067356961bf12cb28a48206e169f (patch) | |
| tree | 0ec37e4492443a8858d22169dbfd2050bc8dcbfe /Scripts | |
| parent | f53171210158ac5cedfe88db314bb0fd723642a5 (diff) | |
| download | dotfiles-1241cc216dee067356961bf12cb28a48206e169f.tar.gz dotfiles-1241cc216dee067356961bf12cb28a48206e169f.tar.bz2 dotfiles-1241cc216dee067356961bf12cb28a48206e169f.zip | |
In no world should battery hibernate the system automatically
Not a job for a simple status script - user should be smart enough to
do it themselves.
Diffstat (limited to 'Scripts')
| -rwxr-xr-x | Scripts/.local/scripts/status/battery | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Scripts/.local/scripts/status/battery b/Scripts/.local/scripts/status/battery index 1be818d..933e50c 100755 --- a/Scripts/.local/scripts/status/battery +++ b/Scripts/.local/scripts/status/battery @@ -24,11 +24,10 @@ else status="" elif [[ $capacity -gt 5 ]] then - notify-send -u critical "Charge now!" + notify-send -u critical "Battery: Charge now!" status="" else - notify-send -u critical "Hibernating..." - systemctl hibernate + notify-send -u critical "Battery: Critical (< 5%)!" status="" fi echo "$status $capacity% $time_left" |
