mirror of
https://github.com/basecamp/omarchy.git
synced 2025-08-03 23:29:23 +00:00
Extend time for battery warning to 30 seconds
Make it harder to miss. Closes #392.
This commit is contained in:
@ -14,7 +14,7 @@ get_battery_state() {
|
||||
}
|
||||
|
||||
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)
|
||||
|
Reference in New Issue
Block a user