return to OCLUG Web Site
A Django site.
May 10, 2009

Bart Trojanowski
jukie
Bart's Blog
» wmiirc-lua v0.2.8 release

I've packaged up the recent changes made to wmiirc-lua and released a new version.

This release is mostly about bug fixes, and moving things around. Particularly, I've moved the project to github, and also the new configuration files live in ~/.wmii-lua not ~/.wmii-3.5 (which clearly didn't make sense).

There are many fixes to the packaging and startup scripts to make things more robust. I've also revisited and fixed building Debian packages (at least for Debian/Lenny).

If you've used the kitchen sink repository you should note that this repository is being deprecated in favour of storing the wmii and libixp repositories as submodules of wmii-lua -- so no need for a container repo like the kitchen sink.

[Read More]

May 9, 2009

Bart Trojanowski
jukie
Bart's Blog
» wmiirc-lua moving to github

I had as surge of new interest in wmii-lua in the last couple of months. I thought it would be good to officially state here that I've been moving the wmii-lua git repositories to github.

[Read More]

October 26, 2008

Bart Trojanowski
jukie
Bart's Blog
» wmiirc-lua v0.2.5 release

A kind wmiirc-lua user, Sytse Wielinga (sytse on irc), had debugged an old issue in luaixp code I had written for wmiirc-lua.

While this bug directly addresses raw mode (Mod4-space), I belive that this will fix a bunch of weird issues so I released v0.2.5. Since v0.2.4 there was also a small bug in the battery plugin that was fixed.

[Read More]

» wmiirc-lua v0.2.4 release

I packaged up the latest modules and bug fixes of wmiirc-lua and made a v0.2.4 release.

[Read More]

July 18, 2008

Bart Trojanowski
jukie
Bart's Blog
» wmiirc-lua updates

I finally got around to porting a few old features to wmiirc-lua.

There is now a mailing list for wmiirc-lua. Subscribe by emailing wmii-lua-subscribe@googlegroups.com.

[Read More]

January 11, 2007

Dave O'Neill
dmo
blog
» Hacks for wmii

I recently switched to ruby-wmii as my window manager. Among its other features, it's a tagging window manager. This means that instead of virtual desktops, you have views. Each view is essentially a single tag, and the windows shown in that view are the ones with that particular tag.

wmii provides all sorts of bindings for tagging and retagging windows, and also provides a binding to start a window on a new tag (normally, the window would start tagged with your current view). This usually works great, but what if I want to run an app and have it show up on another tag, from a shell prompt? Not available in the base setup, but hey, that's why it's written in Ruby.

So, after a crash course in Ruby, here's what I came up with. First, add this:

# Hack to tag "next" window from shell or elsewhere
@nexttag = ""
register("NextWindowTags", nil, nil) {|tag,| @nexttag = tag }
on_createclient do |cid|
    if @nexttag != ""
        write("/client/#{cid}/tags", @nexttag )
        @nexttag = ""
    end
end

to your wmiirc-config.rb. This lets you send an external event that saves tags to be used for the next window created. Then, in your .bash_profile or elsewhere, add this:

function on () {
    TAG=$1
    shift
    echo "NextWindowTags $TAG" | wmiir write /event

    $*
}

Now, you can run whatever you want, on whatever tag (or tags) you want, from the shell. For example:

on coding xterm

would run a new xterm and tag it for display in the 'coding' view.

on mail+misc+irc xclock

would start xclock, and tag it for display in all of 'mail', 'misc', and 'irc'.