From e8b72095958f0d4b175856348974435137426058 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Wed, 31 Aug 2022 18:14:21 +0200 Subject: [PATCH] sb-battery icon should also be on red background. --- _desktop/_scripts/sb-battery | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_desktop/_scripts/sb-battery b/_desktop/_scripts/sb-battery index 153c1b4..192c065 100755 --- a/_desktop/_scripts/sb-battery +++ b/_desktop/_scripts/sb-battery @@ -14,5 +14,5 @@ for battery in /sys/class/power_supply/BAT?*; do esac capacity=$(cat "$battery/capacity") # Will make a warn variable if discharging and low - [ "$capacity" -le 20 ] && printf "$icon ${status} ${capacity}%%" || printf "$icon ${status} ${capacity}%%" + [ "$capacity" -le 20 ] && printf "$icon ${status} ${capacity}%%" || printf "$icon ${status} ${capacity}%%" done && exit 0