From 40c551385f20cc95a1b6571c4b1946cbed226f85 Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Mon, 9 Sep 2024 21:08:07 -0500 Subject: update makefile to build & install, include manpage, make notification persistent and change urgency --- shlowbat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shlowbat') diff --git a/shlowbat b/shlowbat index a02ce56..a4fb9d7 100755 --- a/shlowbat +++ b/shlowbat @@ -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 -- cgit v1.2.3