From 9cb30b5be6d98e73022f940463c62e66e088db11 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 10 Jul 2025 15:36:30 -0700 Subject: [PATCH] Small text tweaks --- bin/omarchy-battery-monitor | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/omarchy-battery-monitor b/bin/omarchy-battery-monitor index eb26d0f..6ac71cb 100755 --- a/bin/omarchy-battery-monitor +++ b/bin/omarchy-battery-monitor @@ -1,8 +1,6 @@ #!/bin/bash -# Omarchy Battery Monitor -# One-shot script that checks battery and sends notification if needed -# Designed to be run by systemd timer every 30 seconds +# Designed to be run by systemd timer every 30 seconds and alerts if battery is low BATTERY_THRESHOLD=10 NOTIFICATION_FLAG="/run/user/$UID/omarchy_battery_notified" @@ -16,7 +14,7 @@ get_battery_state() { } send_notification() { - notify-send -u critical "Battery Low" "Battery level is at ${1}%! Please plug in your charger." -i battery-caution + notify-send -u critical "Battery Low" "Time to recharge! (battery is at ${1}%)" -i battery-caution } BATTERY_LEVEL=$(get_battery_percentage)