Re: [wmii] placement of opera windows

From: hiro <>
Date: Wed, 11 Jun 2008 22:45:08 -0400

On 6/11/08, hiro <> wrote:
> What feature is making my opera windows all appear in the same column
> (rather than appearing in the currently focused view or accepting my
> tagrules)?

Well, perhaps someone finds this asipiring: I use mod-m to toggle the
tagging of the opera windows and by using mod-d I can bring them to
the currently selected view.
I have disabled all of opera's bars and I'm planning to use dmenu to
type in adresses, access bookmarks or make automatic
google/wikipedia/dict searches.
I don't know how to use the .local file properly, but this is what I
put in rc.wmii:

fn newtag {
        clients=`{wmiir read /tag/$old/index | awk '/[^#]/{print $2}'}
        for(c in $clients)
                wmiir xwrite /client/$c/tags $new

fn Event-CreateClient {
        if(~ $backopera on){
                xwinid = $1
                if(~ `{wmiir read /client/$xwinid/props} opera*)
                        wmiir xwrite /client/$xwinid/tags new}}

key $MODKEY-m || fn $key {
        if(~ $backopera on) backopera=off
        if not backopera=on}
key $MODKEY-d || fn $key {
        wmiir xwrite /tag/sel/ctl colmode sel default
        newtag new `{wmiir read /tag/sel/ctl | sed -ne 1p}}
Received on Thu Jun 12 2008 - 11:14:33 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:44:08 UTC