Am 2004-09-28 14:12 +0300 schrieb Tuomo Valkonen:
> On Tue, Sep 28, 2004 at 01:03:08PM +0200, [EMAIL PROTECTED] wrote:
> > Has anyone on this list cooked up a piece of lua code that flashes the
> > name of the new workspace in a big font when you switch workspace? I

There is
http://modeemi.fi/~tuomov/pwm/prog/workspace_indicator


I made:

add_to_hook("screen_workspace_switched",

    function(screen, region)

        local name = region:name()
        exec("echo " .. name .. " | osd_cat -s 3 -u white -c rgb:0A/C2/00 -f 
'-*-verdana-bold-r-normal-*-72-*' -p middle -A center -d 1 &")
    end
)

which ist included in ion.lua. But be careful, there is probably a bug in it, 
which blocks the WM longer than necessary. And I suspect it frying recent 
ion2 versions completely but I invetigated it not in deep because I use ion3
ATM.

Regards, Konsti

-- 
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF

Reply via email to