Extend time for battery warning to 30 seconds

Make it harder to miss. Closes #392.
This commit is contained in:
David Heinemeier Hansson
2025-08-03 14:02:57 +02:00
parent 1dc8379533
commit cb08f4ccd2

View File

@ -14,7 +14,7 @@ get_battery_state() {
} }
send_notification() { send_notification() {
notify-send -u critical "Battery Low" "Time to recharge! (battery is at ${1}%)" -i battery-caution notify-send -u critical "󱐋 Time to recharge!" "Battery is down to ${1}%" -i battery-caution -t 30000
} }
BATTERY_LEVEL=$(get_battery_percentage) BATTERY_LEVEL=$(get_battery_percentage)