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

From: Julien Pecqueur (JPEC) <jpec_AT_julienpecqueur.com>
Date: Sat, 17 Jan 2009 19:04:27 +0100
pascal wrote:
Le Sat, 17 Jan 2009 14:41:29 +0100,
"Julien Pecqueur (JPEC)" <jpec@julienpecqueur.com> a écrit :

  
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)

    

You could try remove the backslashes... It does the trick for me ( under
xmonad... :-/ )

  
Thank your Pascal !!! It's works well without the backslashes !!!

:)
Received on Sat Jan 17 2009 - 18:04:27 UTC

This archive was generated by hypermail 2.2.0 : Sat Jan 17 2009 - 18:12:06 UTC