summary refs log tree commit diff
path: root/cwmrc.5
diff options
context:
space:
mode:
authoroga <oga>2008-04-15 18:46:58 +0000
committeroga <oga>2008-04-15 18:46:58 +0000
commit3a94c57afc6067c60b639944ef2042b0d73fb47e (patch)
tree803a2c9146119a6e3971f98e93b4df41dfa6e740 /cwmrc.5
parent4bbb472a25c62b8266de2225c5f98b96ab829e1c (diff)
downloadcwm-3a94c57afc6067c60b639944ef2042b0d73fb47e.tar.gz
cwm-3a94c57afc6067c60b639944ef2042b0d73fb47e.tar.xz
cwm-3a94c57afc6067c60b639944ef2042b0d73fb47e.zip
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 'cwmrc.5')
-rw-r--r--cwmrc.512
1 files changed, 11 insertions, 1 deletions
diff --git a/cwmrc.5 b/cwmrc.5
index 5695057..f744e65 100644
--- a/cwmrc.5
+++ b/cwmrc.5
@@ -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