aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbattery-checknow2
1 files changed, 1 insertions, 1 deletions
diff --git a/battery-checknow b/battery-checknow
index 7d16346..66bbd60 100755
--- a/battery-checknow
+++ b/battery-checknow
@@ -16,7 +16,7 @@ status=$(echo "$new" | awk '{print $2}')
16[ "$status" = "Discharging" ] && [ "$level" -le "$crit" ] && status="Critical" 16[ "$status" = "Discharging" ] && [ "$level" -le "$crit" ] && status="Critical"
17 17
18if [ "$status" != "$(cat "$file")" ] || [ "$status" = "Critical" ]; then 18if [ "$status" != "$(cat "$file")" ] || [ "$status" = "Critical" ]; then
19 $notify "Battery" "$(battery-status)" 19 $notify "Battery: $(battery-status)"
20fi 20fi
21 21
22echo "$status" > "$file" 22echo "$status" > "$file"

Generated with cgit - Back to sebastiano.tronto.net