title: conky with if_match and 'and'
body: <p>I'm having a hard time googling and searching for what i'm trying to do because of the broad meaning of my searchable keywords.</p>
  
  <p>I'm trying to modify my .conkyrc file to change the font color based on temperature which requires me to write something like:</p>
  
  <pre><code>if [ $test &gt;="50" and $test &lt;="60"];
  </code></pre>
  
  <p>I don't expect the above to work at all, i know the syntax is all wrong, but it's the easiest way for me to describe what I'm trying to accomplish</p>
  
  <p>Below is an actual piece from my config where I tried to do it without 'and' or 'or' but of course, it doesn't work as I had hoped.</p>
  
  <pre><code>${goto 45}${if_match "${platform coretemp.0 temp 2}" &gt;= "115"}${color4}${endif}${if_match "${platform coretemp.0 temp 2}" &gt;= "125"}${color5}${endif}${if_match "${platform coretemp.0 temp 2}" &gt;= "145"}${color6}${endif}${if_match "${platform coretemp.0 temp 2}" &gt;= "155"}${color7}${endif}${if_match "${platform coretemp.0 temp 2}" &gt;= "170"}${color8}${endif}${platform coretemp.0 temp 2}°F
  </code></pre>
  
  <p>also, can I use elseif with conky?</p>
  
  <pre><code>${if_match "$test" &gt;="113"}${color4}${elseif "$test1" &lt;="120"}${color5}${endif}
  </code></pre>
  
  <p>or something like that?</p>