
On Friday 14 September 2007 12:29:59 David Roundy wrote:
On Fri, Sep 14, 2007 at 10:24:29AM -0700, Don Stewart wrote:
lobzang:
Hi
I'm using a custom statusbar with dzen, in a xinerama environment ( defaultGaps = [(15,0,0,0)] in config file) This starts well, however when I open a new window (term) on the second screen, the statusbar is overlapped by the terminal window.
the status bar gap field is a list of geometries for each physical screen. to have a gap on the second screen, you'd use something like:
= [(15,0,0,0), (15,0,0,0)]
we might default to running the same gap on all screens -- perhaps that is what most people expect?
Is there any way we can detect when a program appears to be a status bar? Then we could simply adjust the gaps to compensate, which I suspect is what people would really expect...
There are some ways, there are a few properties in EWMH, STRUT and DOCK IIRC. We'd need to patch dzen/xmobar to actually use these properties. Cheers, Spencer Janssen