If you only plan on having firefox open under the web tag, you can just
add a tag rule. That way whenever you start firefox it will open in the
web tag.

For example:

/Firefox/ -> web

Hope this helps,
Thomas

On Sun, May 03, 2009 at 03:57:50PM +0200, j...@julienpecqueur.com wrote:
> Hi everybody !
> 
> I'm trying to make shortcut to simply the utilisation of wmii. 
> 
> I arrange my opened programs in tabs [irc,mail,web,work].
> 
> For example, when i press MODKEY + Shift + f I want to open a new tab called 
> web and open firefox inside.
> 
> So i'll add the following lines in my rc.wmii.local file :
> 
> fn Action-overridekeys {
>       ### OTHER KEYBOARD SHORTCUTS
>       
>       fn Key-$MODKEY-Shift-f { wmiir xwrite /ctl view web ; firefox }
> }
> 
> But when i press MODKEY + Shift + f, it open firefox in the current tab
> and when i close firefox, it create the web tab empty.
> 
> I'd tried with wmiir xwrite /ctl view web && firefox >> same problem!
> 
> What's wrong ?
> 
> -- 
> Julien Pecqueur (JPEC)
> 
> Site:         http://julienpecqueur.com
> Email:        j...@julienpecqueur.com
> PGP:  B1AA2389 (GNUPG)
> IRC:  jpec (irc.freenode.net)
> 
> Powered by Archlinux - Keep it simple stupid !



Reply via email to