Thank your Pascal !!! It's works well without the backslashes !!!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... :-/ )
This archive was generated by hypermail 2.2.0 : Sat Jan 17 2009 - 18:12:06 UTC