diff options
Diffstat (limited to '.config/eww/scripts/battery')
-rwxr-xr-x | .config/eww/scripts/battery | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/eww/scripts/battery b/.config/eww/scripts/battery index 600dfb3..69019a6 100755 --- a/.config/eww/scripts/battery +++ b/.config/eww/scripts/battery @@ -17,8 +17,9 @@ then if (set +e; [ $(($now - ${was:-0} > 60)) -eq 1 ]) then - notify-send -a 'battery' -u critical 'Battery Low' \ - 'The current battery level is below 20%. Plug the device into a charger ASAP.' + notify battery battery 'Battery Low' \ + 'The current battery level is below 20%. Plug the device into a charger ASAP' \ + -u critical echo $now >"$TS_FILE" fi fi |