From 01c773dbfd2a5bd48d3f8f74dc90e3fa4664868a Mon Sep 17 00:00:00 2001 From: jasper Date: Wed, 6 Jun 2007 22:08:02 +0000 Subject: document the autogroup functionality. with aon@iki.fi --- cwm.1 | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'cwm.1') diff --git a/cwm.1 b/cwm.1 index de0245d..da648ba 100644 --- a/cwm.1 +++ b/cwm.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cwm.1,v 1.5 2007/05/27 09:23:12 jasper Exp $ +.\" $OpenBSD: cwm.1,v 1.6 2007/06/06 22:08:02 jasper Exp $ .\" .\" The following requests are required for all man pages. .Dd July 10, 2004 @@ -207,6 +207,25 @@ The defaults for these are and .Xr xlock 1 , respectively. +.Sh ~/.calmwm/.autogroup +Symlinks in this directory are read upon startup and control the +automatic grouping feature, which is based on the window name and class +properties. +To obtain the name and class of a window, you can use +.Nm xprop WM_CLASS , +then click on the window. +The first quoted string is the window name, the second one is the +window class. +.Pp +The name of a link can be the window class, or the window class and name +separated by a comma. +The link target is a group name (one, two, \&..., nine). +For example, to make all windows in the +.Xr xterm 1 +class go to the third group: +.Bd -literal -offset indent +ln -s three ~/.calmwm/.autogroup/XTerm +.Ed .Sh ENVIRONMENT .TP DISPLAY -- cgit v1.2.3-2-gb3c3