aboutsummaryrefslogtreecommitdiffstats
path: root/cwmrc.5
diff options
context:
space:
mode:
authorokan2017-12-07 16:25:33 +0000
committerokan2017-12-07 16:25:33 +0000
commit2cc69c661a1ffb9a7de17e1a58657701edda41a6 (patch)
tree1c9ba804879910dc00c47fe859fef891478b8c5a /cwmrc.5
parentc41a4e4f8740a3150cb0ed54c5972e075f503b74 (diff)
downloadcwm-2cc69c661a1ffb9a7de17e1a58657701edda41a6.tar.gz
Original idea from Dimitris Papastamos to move windows to corners a while ago;
re-proposed by Julien Steinhauser with an updated diff. Apparently this was in the original calmnwm. However, expand the original idea and let clients 'snap' to edges instead, neatly allowing key bindings that snap to adjacent edges (i.e. corners) as well. No default bindings assigned.
Diffstat (limited to 'cwmrc.5')
-rw-r--r--cwmrc.520
1 files changed, 18 insertions, 2 deletions
diff --git a/cwmrc.5 b/cwmrc.5
index c044702..4e6c890 100644
--- a/cwmrc.5
+++ b/cwmrc.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cwmrc.5,v 1.68 2017/07/06 17:09:17 okan Exp $
+.\" $OpenBSD: cwmrc.5,v 1.69 2017/12/07 16:25:33 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: July 6 2017 $
+.Dd $Mdocdate: December 7 2017 $
.Dt CWMRC 5
.Os
.Sh NAME
@@ -398,6 +398,22 @@ pixels right.
Resize window 10 times
.Ar moveamount
pixels left.
+.It window-snap-up
+Snap window to top edge.
+.It window-snap-down
+Snap window to bottom edge.
+.It window-snap-right
+Snap window to right edge.
+.It window-snap-left
+Snap window to left edge.
+.It window-snap-up-right
+Snap window to top-right corner.
+.It window-snap-up-left
+Snap window to top-left corner.
+.It window-snap-down-right
+Snap window to bottom-right corner.
+.It window-snap-down-left
+Snap window to bottom-left corner.
.It pointer-move-up
Move pointer
.Ar moveamount