From 44d74976388a98e062b2b110006ffe26d27c69c6 Mon Sep 17 00:00:00 2001 From: okan Date: Sun, 28 Oct 2012 20:13:02 +0000 Subject: clarify autogroup option; based on diffs from kspillner@acm.org with feedback from jmc --- cwmrc.5 | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/cwmrc.5 b/cwmrc.5 index 76e168d..b3871f1 100644 --- a/cwmrc.5 +++ b/cwmrc.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cwmrc.5,v 1.43 2012/07/06 08:41:29 dcoppa Exp $ +.\" $OpenBSD: cwmrc.5,v 1.44 2012/10/28 20:13:02 okan Exp $ .\" .\" Copyright (c) 2004,2005 Marius Aamodt Eriksen .\" @@ -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 2012 $ +.Dd $Mdocdate: October 28 2012 $ .Dt CWMRC 5 .Os .Sh NAME @@ -39,18 +39,26 @@ Arguments containing whitespace should be surrounded by double quotes The following options are accepted: .Pp .Bl -tag -width Ds -compact -.It Ic autogroup Ar group windowname +.It Ic autogroup Ar group windowclass .It Ic autogroup Ar group windowname,windowclass -Control automatic window grouping, based on the name and/or class -properties, where +Automatically add new windows to +.Ar group +if their class property matches +.Ar windowclass , +or if their name and class properties match +.Ar windowname +and +.Ar windowclass , +respectively. .Ar group is a number between 0 and 9. -If the group number is 0, then the window will not be grouped; this to -allow for -.Dq sticky -windows in sticky group mode. +If +.Ar group +is 0, matching windows will not be added to any group; this may be +used to override +.Dq sticky group mode . .Pp -The name and class of a window may be obtained using +The name and class values for existing windows may be obtained using .Xr xprop 1 . .Pp .It Ic bind Ar keys command -- cgit v1.2.3-2-gb3c3