Why is this not working?
${if_match ${$battery_percent} > "20"}${color 774477}${battery_bar}$endif${if_match ${$battery_percent} <= "20"}${color FFA700}${battery_bar}$endif${if_match ${$battery_percent} < "6"}${color aa0000}${battery_bar}$endif
I put the if statements in series instead of nesting them, because nesting did not work.