Re: [dev] run a program and display on a specific tab

From: Ruben Gonzalez Arnau <ruben_AT_websbarcelona.com>
Date: Mon, 06 Jun 2011 21:20:41 +0200

On 06/06/11 12:20, Piotr Zalewa wrote:
> Hi,
>
> I want to create a script which will load my default setup (quite a few
> programs).
>
> How to run a program so it will be displayed on a desired tab? (view,
> workspace - I always had a problem with that lingo)
>
> thanks,
> zalun
>

Assuming you are using sh version of wmii.

${HOME}/.wmii/wmiirc_local

wmiir write /tagrules <<!
/regex app/ -> tag
/XTerm/ -> sel
/Firefox/ -> 9
/Xmms/ -> music
etc
!

sel is current tag
you can use letters "www" or numbers "1" for your custom apps tags.

Hope it helps.
Received on Mon Jun 06 2011 - 21:20:41 CEST

This archive was generated by hypermail 2.2.0 : Mon Jun 06 2011 - 23:36:05 CEST