aboutsummaryrefslogtreecommitdiff
path: root/shlowbat
diff options
context:
space:
mode:
Diffstat (limited to 'shlowbat')
-rwxr-xr-xshlowbat4
1 files changed, 2 insertions, 2 deletions
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