title: Bash script with scrot area not working
body: <p>I created a bash script to use for interactive screen capture and another one for window capture. I'm linking to these with keyboard shortcuts in Linux. The window capture script works without problems:</p>
  
  <pre><code>#!/bin/sh  
  scrot -u 'ScreenShot_%Y-%m-%d_at_%I:%M:%S-%p.png' -e 'mv $f ~/Pictures/scrot-screenshots'
  </code></pre>
  
  <p>But the script for for area capture (user selects area with mouse drag) does not work, even though the command works in terminal:</p>
  
  <pre><code>#!/bin/sh  
  scrot -s 'ScreenShot_%Y-%m-%d_at_%I:%M:%S-%p.png' -e 'mv $f ~/Pictures/scrot-screenshots'
  </code></pre>
  
  <p>What am I doing wrong? Or maybe a better question is what is preventing the script from letting me select an area of the screen?</p>