diff options
| author | Skladnayazebra <skladnayazebra@gmail.com> | 2025-11-08 11:35:51 +0100 |
|---|---|---|
| committer | Skladnayazebra <skladnayazebra@gmail.com> | 2025-11-08 11:35:51 +0100 |
| commit | 748d118c290a5552b37cf965781551aba1e3c4d2 (patch) | |
| tree | 16adbdd1cc6981240497d0943c359b94f3ae728b /tmux/battery.sh | |
| parent | 3750f00f2629f0ee4ec342752c83cfebbf118156 (diff) | |
Fixed unwanted double brackets around styles
Diffstat (limited to 'tmux/battery.sh')
| -rwxr-xr-x | tmux/battery.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
