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

From: Ruben Gonzalez Arnau <rga_AT_sdf.lonestar.org>
Date: Tue, 07 Jun 2011 00:03:29 +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. (<= 3.9.2)

${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.

-- 
rga_AT_sdf.lonestar.org
Received on Tue Jun 07 2011 - 00:03:29 CEST

This archive was generated by hypermail 2.2.0 : Tue Jun 07 2011 - 00:12:03 CEST