diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2024-09-09 21:08:07 -0500 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2024-09-09 21:08:07 -0500 |
commit | 40c551385f20cc95a1b6571c4b1946cbed226f85 (patch) | |
tree | bd561084f82a817346bab048a403dd6304a925cf /shlowbat | |
parent | 8e929bd44420ed9a3bc0b6a030cebbdfcafebf4d (diff) | |
download | lowbat-40c551385f20cc95a1b6571c4b1946cbed226f85.tar.xz lowbat-40c551385f20cc95a1b6571c4b1946cbed226f85.zip |
update makefile to build & install, include manpage, make notification persistent and change urgency
Diffstat (limited to 'shlowbat')
-rwxr-xr-x | shlowbat | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,9 +13,9 @@ while true; do if is_discharging; then if [ $capacity -le 5 ] && [ $warning_level -lt 2 ]; then - notify_send "Critical Low Battery Warning" "${capacity}% remains" + notify-send -u critical -w "Critical Low Battery Warning" "${capacity}% remains" elif [ $capacity -le 20 ] && [ $warning_level -lt 1 ]; then - notify_send "Low Battery Warning" "${capacity}% remains" + notify-send -u normal -w "Low Battery Warning" "${capacity}% remains" fi else warning_level=0 |