title: How do I use Homebrew-Watch to continuously adjust my computer's input volume?
body: <p>So there seems to be a bug with Mac laptops where if you connect earbuds and hop on Google-Meet or Skype (there might be more but those are the ones I keep seeing)the input volume continues to lower itself to the point you can't be heard anymore.</p>
  <p>I have this bit of code to run in the terminal but not sure of the best way to continuously run it and have a way of potentially disabling it.</p>
  <pre><code>while (( `osascript -e &quot;input volume of (get volume settings)&quot;` &lt; 50 )); do osascript -e &quot;set volume input volume (input volume of (get volume settings) + 3)&quot;; sleep 0.1; done;
  </code></pre>
  <p>Best idea I have come by is using <code>brew install watch</code> to continuously rerun the script. Is there a better way to do this, and if I did just want to use 'watch', how can I do so?</p>
  <p>There aren't any great examples online and the docs are somewhat sparse.</p>