Re: [dev] saving program options

2010-01-25 Thread Nick Guenther
On Sun, Jan 24, 2010 at 2:57 PM, anonymous wrote: > Where programs should store their options? Sometimes it is said that > global variables are bad, but what is better? Some huge structure > storing all options? Of course, they can be divided into many > structures or they can be passed on a stack

Re: [dev] [wmii] sticky tagrule

2010-01-08 Thread Nick Guenther
On Thu, Dec 31, 2009 at 1:21 AM, Noah Tye wrote: > I run trayer, a small system tray, so that I can run nm-applet and use > Gnome's volume applet.  Trayer is automatically started via my wmiirc, > however, it is not visible on all views (it's not sticky). > > I want trayer to be sticky.  This is p

Re: [dev] [wmii] Firefox new windows

2009-11-23 Thread Nick Guenther
On Mon, Nov 23, 2009 at 6:48 PM, Suraj Kurapati wrote: > On Mon, Nov 23, 2009 at 2:22 PM, Nick Guenther wrote: >> Uh, I'm on 3.6 and the default wmiirc comes with a trailing tagrule of >> "/.*/ -> sel", followed by "/.*/ -> 1", which I'm guess

Re: [dev] [wmii] Firefox new windows

2009-11-23 Thread Nick Guenther
On Mon, Nov 23, 2009 at 1:54 PM, Suraj Kurapati wrote: > On Mon, Nov 23, 2009 at 9:57 AM, Joseph Xu wrote: >> On Mon, Nov 23, 2009 at 09:11:50AM -0800, Suraj Kurapati wrote: >>> On Mon, Nov 23, 2009 at 8:58 AM, Yannic Haupenthal >>> > you might use >>> > >>> >        /Firefox.*/ -> sel # and/or >

Re: [dev] wmii and floating controls

2009-11-20 Thread Nick Guenther
On Fri, Nov 20, 2009 at 2:08 AM, Kris Maglione wrote: > On Fri, Nov 20, 2009 at 01:08:13AM -0500, Nick Guenther wrote: >> No, tagrules works exactly how I want. And for zenity (which is /all/ >> modal dialogs) it's fine. But I can imagine running into a case where >> I w

Re: [dev] wmii and floating controls

2009-11-19 Thread Nick Guenther
Thanks for the quick response! Inline... On 11/19/09, Kris Maglione wrote: > On Thu, Nov 19, 2009 at 10:25:40PM -0500, Nick Guenther wrote: > > > I'm using wmii3.5 on OpenBSD and no matter how hard I look I can't > > find a way to control if a window is floating or n

[dev] wmii and floating controls

2009-11-19 Thread Nick Guenther
I'm using wmii3.5 on OpenBSD and no matter how hard I look I can't find a way to control if a window is floating or not. I can do this fine: $ wmiir xwrite /client/sel/ctl Fullscreen on $ wmiir xwrite /client/sel/ctl Fullscreen off But: $ wmiir xwrite /client/sel/ctl Floating off wmiir: fatal: ca