[wmii] rc.wmii - adding my own keybinding in rc.wmii

From: Julien Pecqueur (JPEC) <jpec_AT_julienpecqueur.com>
Date: Sat, 17 Jan 2009 14:41:29 +0100

Hi,

I'm trying to add personal keybinding in the rc.wmii.local file. It's
work for simple commands but i have a problem with this one :

PRINT_X=(scrot 'scrot_%Y-%m-%d_%H-%M_\$wx\$h.png' -e 'mv \$f
~/images/shots/')
key Print || fn $key {
    $PRINT_X}

Wmii grab the key Print and execute the command.
However, scrot take the screenshot and save it as
~/scrot_2009-01-17_14-30_\$wx\$h.png

This scrot command is good because i wrote an alias in my .bashrc :
alias screenshot="scrot 'scrot_%Y-%m-%d_%H-%M_\$wx\$h.png' -e 'mv \$f
~/images/shots/'"
and this alias works!

So what's wrong in $PRINT_X in my rc.wmii ??

Please help!!

---
Julien Pecqueur (JPEC)
Received on Sat Jan 17 2009 - 13:41:29 UTC

This archive was generated by hypermail 2.2.0 : Sat Jan 17 2009 - 13:48:06 UTC