diff options
Diffstat (limited to 'hypr/battery-notif.sh')
| -rwxr-xr-x | hypr/battery-notif.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hypr/battery-notif.sh b/hypr/battery-notif.sh index 40f7db3..e64442a 100755 --- a/hypr/battery-notif.sh +++ b/hypr/battery-notif.sh @@ -5,9 +5,9 @@ while true; do if [[ "$status" = "Discharging" ]]; then battery=$(cat /sys/class/power_supply/BAT1/capacity) if [[ battery -lt 16 ]]; then - notify-send -u critical "Very Low Battery" -i ~/.config/hypr/battery/battery_critical.png + notify-send -u critical "Very Low Battery" -i ~/.config/hypr/battery/battery_critical.png -t 5000 elif [[ battery -lt 31 ]]; then - notify-send -u normal "Low Battery" -i ~/.config/hypr/battery/battery_low.png + notify-send -u normal "Low Battery" -i ~/.config/hypr/battery/battery_low.png -t 5000 fi fi pid=$! |
