From 748d118c290a5552b37cf965781551aba1e3c4d2 Mon Sep 17 00:00:00 2001 From: Skladnayazebra Date: Sat, 8 Nov 2025 11:35:51 +0100 Subject: Fixed unwanted double brackets around styles --- tmux/battery.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tmux') diff --git a/tmux/battery.sh b/tmux/battery.sh index d981ae5..a306828 100755 --- a/tmux/battery.sh +++ b/tmux/battery.sh @@ -11,9 +11,9 @@ percentage_int=$(printf "%.0f%" "${percentage_raw%%%}") # when battery is low, highlight the widget if [[ $percentage_int -le "10" ]]; then - printf "#[[bg=red,fg=brightwhite]]"; + printf "#[bg=red,fg=brightwhite]"; elif [[ $percentage_int -le "15" ]]; then - printf "#[[bg=brightyellow]]"; + printf "#[bg=brightyellow]"; fi printf " "; # left padding -- cgit v1.3.1