diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-03-25 14:38:09 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-03-25 14:38:09 +0530 |
| commit | 8524efe76a7c0945c6c9e7113eb740817e9eb2cd (patch) | |
| tree | 07c7062453f6f61a83596257e99f423acc63283b /hypr | |
| parent | 6a01fd8aa95b403795a787588f45fb24d2bb931f (diff) | |
search bar in app launcher
Diffstat (limited to 'hypr')
| -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=$! |
