On Fri, Nov 20, 2009 at 03:30:10AM -0500, Nick Guenther wrote:
I'll probably cave and just compile 3.9 soon enough but it's so untidy
to have to do that every time I install a system and I'm not up to
being maintaining packages yet (and they wouldn't take a 'beta'
anyway). Is there no way in 3.6 to say "you! go float yourself!"? I
guess I could read /tag/sel/index and give the toggle command or not
based on that...

I've had to checkout 3.6 just to find this. No, in 3.6 it's not possible. You can do something like this:

  wmiir read /tag/sel/index | grep -q "^~ $client" ||
      wmiir xwrite /tag/sel/ctl send $client toggle

As for a package, OpenBSD supports binary packages and it's easy to keep around a local copy. It's also easy enough to just keep around a port makefile, on FreeBSD, at least. 3.9 will be out soon, anyway.

--
Kris Maglione

On the mountains of truth you can never climb in vain: either you will
reach a point higher up today, or you will be training your powers so
that you will be able to climb higher tomorrow.
        --Friedrich Nietzsche


Reply via email to