From 137723ad08c9062a346b29d72b4b2ce55971c217 Mon Sep 17 00:00:00 2001 From: oga Date: Tue, 15 Apr 2008 18:46:58 +0000 Subject: 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@. --- cwmrc.5 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'cwmrc.5') diff --git a/cwmrc.5 b/cwmrc.5 index fa22213..219175f 100644 --- a/cwmrc.5 +++ b/cwmrc.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cwmrc.5,v 1.1 2008/03/23 15:09:21 simon Exp $ +.\" $OpenBSD: cwmrc.5,v 1.2 2008/04/15 18:46:58 oga Exp $ .\" .\" Copyright (c) 2004,2005 Marius Aamodt Eriksen .\" @@ -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: March 23 2008 $ +.Dd $Mdocdate: April 15 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 -- cgit v1.2.3-2-gb3c3