On 1/17/06, Charlie Law <chaslaw_AT_gmail.com> wrote:
> One question, though: I've managed to get the bar to display at the
> top of my screen, but I can't get the windows to open without
> covering the bar. This isn't a problem when the bar is at the bottom
> of the screen. I've played with config a good bit but haven't
> succeeded yet. Thanks in advance.
I just did this--it did take a little tinkering before I got it right:
====
$ diff -u /usr/local/etc/wmii-2.5/wmiirc ~/.wmii-2.5/wmiirc
--- /usr/local/etc/wmii-2.5/wmiirc 2006-01-13 14:14:05.114962016 -0800
+++ ~/.wmii-2.5/wmiirc 2006-01-13 17:38:33.000031000 -0800
@@ -95,7 +95,7 @@
barsucks $clab
wmiir write /bar/expandable 2
-wmiir write /bar/geometry 0,south,east,$BAR_HEIGHT
+wmiir write /bar/geometry 0,north,east,$BAR_HEIGHT
wmiir write /bar/ctl 'display 1'
@@ -115,7 +115,7 @@
wmiir create /wm/default/client/'Gimp:*'/manage 0
wmiir write /wm/default/frame/border-width $BORDER_WIDTH
-wmiir write /wm/default/page/size '0,0,east,south-'^$BAR_HEIGHT
+wmiir write /wm/default/page/size 0,$BAR_HEIGHT,east,south
wmiir write /wm/event/client-update \
'text=`{wmiir read /wm/page/sel/mode/sel/client/sel/name} \
wmiir write /bar/'^$clab^'/data $"text'
====
The catch is that the new page size doesn't get re-applied to current
pages; you have to open a new page to see it. On existing pages, the
titlebar gets covered, as you noticed.
- Bradey
Received on Wed Jan 18 2006 - 00:13:43 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:59:44 UTC