aboutsummaryrefslogtreecommitdiffstats
path: root/cwmrc
diff options
context:
space:
mode:
authoroga2008-04-15 18:46:58 +0000
committeroga2008-04-15 18:46:58 +0000
commit137723ad08c9062a346b29d72b4b2ce55971c217 (patch)
tree3474a796c67fec132d69b1897a5c6dc41fbec4d3 /cwmrc
parent00cd3801d9c4a25c527a378add86c705efa671d6 (diff)
downloadcwm-137723ad08c9062a346b29d72b4b2ce55971c217.tar.gz
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@.
Diffstat (limited to '')
-rw-r--r--cwmrc.514
1 files changed, 12 insertions, 2 deletions
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 <marius@monkey.org>
.\"
@@ -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