scripts

Various scripts for UNIX-like systems
git clone https://git.tronto.net/scripts
Download | Log | Files | Refs | README

commit 25461147e74904e566519c87dcb28b3bbf49b127
parent 3073db4923074e88b3125e81631eac39fbd53e2c
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Fri, 23 Jun 2023 21:50:07 +0200

Removed excessive quotes

Diffstat:
Mbattery-checknow | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/battery-checknow b/battery-checknow @@ -16,7 +16,7 @@ status=$(echo "$new" | awk '{print $2}') [ "$status" = "Discharging" ] && [ "$level" -le "$crit" ] && status="Critical" if [ "$status" != "$(cat "$file")" ] || [ "$status" = "Critical" ]; then - $notify "Battery" "$(battery-status)" + $notify "Battery: $(battery-status)" fi echo "$status" > "$file"