aboutsummaryrefslogtreecommitdiffstats
path: root/cwmrc
diff options
context:
space:
mode:
authorokan2020-04-16 13:32:35 +0000
committerWynn Wolf Arbor2020-04-18 21:10:54 +0200
commit23c5b2e81239675802d7cfe1b1572d89620f7485 (patch)
tree9bbfab1efe388cccad725ac60c01c85ae78a9e35 /cwmrc
parent15fd9c391223d87228a49ec13ae4051bee4c0a55 (diff)
downloadcwm-23c5b2e81239675802d7cfe1b1572d89620f7485.tar.gz
Allow configuring a percentage window size of the master window during htile/vtile actions. From Uwe Werler, with a few manpage tweaks.
Diffstat (limited to '')
-rw-r--r--cwmrc.526
1 files changed, 22 insertions, 4 deletions
diff --git a/cwmrc.5 b/cwmrc.5
index a49ee35..bca861b 100644
--- a/cwmrc.5
+++ b/cwmrc.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cwmrc.5,v 1.75 2020/03/13 20:50:07 tim Exp $
+.\" $OpenBSD: cwmrc.5,v 1.76 2020/04/16 13:32:35 okan Exp $
.\"
.\" Copyright (c) 2004,2005 Marius Aamodt Eriksen <marius@monkey.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: March 13 2020 $
+.Dd $Mdocdate: April 16 2020 $
.Dt CWMRC 5
.Os
.Sh NAME
@@ -183,6 +183,13 @@ This
can be used for applications such as
.Xr xclock 1 ,
where the user may wish to remain visible.
+.It Ic htile Ar percent
+Set the percentage of screen the master window should occupy
+after calling
+.Ic window-htile .
+If set to 0, the horizontal size of the master window will
+remain unchanged.
+The default is 50.
.It Ic ignore Ar windowname
Ignore, and do not warp to, windows with the name
.Ar windowname
@@ -216,6 +223,13 @@ A special
keyword
.Dq all
can be used to unbind all buttons.
+.It Ic vtile Ar percent
+Set the percentage of screen the master window should occupy
+after calling
+.Ic window-vtile .
+If set to 0, the vertical size of the master window will
+remain unchanged.
+The default is 50.
.It Ic wm Ar name path
Every
.Ar name
@@ -303,11 +317,15 @@ Vertically maximize current window (gap + border honored).
Horizontally maximize current window (gap + border honored).
.It window-htile
Current window is placed at the top of the screen, maximized
-horizontally and resized to half of the vertical screen space.
+horizontally and resized to
+.Ar htile
+(default half) of the vertical screen space.
Other windows in its group share remaining screen space.
.It window-vtile
Current window is placed on the left of the screen, maximized vertically
-and resized to half of the horizontal screen space.
+and resized to
+.Ar vtile
+(default half) of the horizontal screen space.
Other windows in its group share remaining screen space.
.It window-move
Move current window.