I set up a shortcut in my cwm config that goes like this:
bind 4-p "/home/marst/bin/screenshot.sh"

screenshot.sh goes like this:

#!/bin/sh
scrot -s '%Y-%m-%d_$wx$h.png' # -e 'mv $f ~/documents/shots' -e 'feh $f'

Ran by itself, the command goes fine, I can select an area of the screen, a
shot is taken and appears in feh.

But when I hit the shortcut key from cwm, nothing seem to happen.
Can such a command be executed in cwm?  What am I doing wrong?

Mario

Reply via email to