From 1367f471500fc4356c23174c51c35ba2be6e5527 Mon Sep 17 00:00:00 2001 From: swytch Date: Wed, 26 Aug 2020 13:09:35 +0200 Subject: [PATCH] feat: change battery notification sleep 2 -> 5 minutes --- .local/bin/bat_notify | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.local/bin/bat_notify b/.local/bin/bat_notify index 61eb8c8..3e7cbac 100755 --- a/.local/bin/bat_notify +++ b/.local/bin/bat_notify @@ -21,7 +21,7 @@ notify() { \ } update() { \ - # We want the notification to be sent every 2 mins + # We want the notification to be sent every 5 mins # But only if the computer is unplugged if [ "$(cat /sys/class/power_supply/AC/online)" = 0 ]; then notify && refbar @@ -31,7 +31,7 @@ update() { \ while :; do update - # Sleep for two minutes before sending another notification - sleep 120 & + # Sleep for 5 minutes before sending another notification + sleep 300 & wait done