Add "gap" support to .cwmrc. The options put in here make gaps on the edge

of the screen where an application won't be {,vert}maximized over. used for
placing a statusbar or something like xclock.

Patch from Edd Barrett, with input from myself and okan. Thanks!

ok okan@.
This commit is contained in:
oga
2008-04-15 18:46:58 +00:00
parent 4bbb472a25
commit 3a94c57afc
4 changed files with 31 additions and 13 deletions

12
cwmrc.5
View File

@@ -15,7 +15,7 @@
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.\" The following requests are required for all man pages.
.Dd $Mdocdate$
.Dd $Mdocdate: March 23 2008 $
.Dt CWMRC 1
.Os
.Sh NAME
@@ -138,6 +138,16 @@ Remove a keybinding for Mod4-o
.Bd -literal -offset indent
bind 4-o "unmap"
.Ed
.It Ic gap Ar top bottom left right
Define "gaps" at the edge of the screen, so that when a window is maximized it will not overlap this area.
This gap can be used for other applications such as
.Xr xclock 1 ,
which the user may wish to remain visible.
.Pp
.Pa top bottom left
and
.Pa right
are the sizes of each the gap in pixels.
.El
.Sh SEE ALSO
.Xr cwm 1