diff options
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 |