aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-06-23 21:50:07 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2023-06-23 21:50:07 +0200
commit25461147e74904e566519c87dcb28b3bbf49b127 (patch)
tree1c3fa4e3885bfe0a82c8b6303be11f597be062c9
parent3073db4923074e88b3125e81631eac39fbd53e2c (diff)
downloadscripts-25461147e74904e566519c87dcb28b3bbf49b127.tar.gz
scripts-25461147e74904e566519c87dcb28b3bbf49b127.zip
Removed excessive quotes
-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