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

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


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 
key Print || fn $key {

Wmii grab the key Print and execute the command.
However, scrot take the screenshot and save it as 

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 
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