diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2007-06-06 22:08:03 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2007-06-06 22:08:03 +0000 |
commit | 06d3373e71022ffa1cd7838ef54d278295f95fdd (patch) | |
tree | 4f24d391f983b3e61f51b9696ca486a1dff930f6 /app/cwm | |
parent | d74e8eb69c3fb258cad955591ddbdfa83ccb9d88 (diff) |
document the autogroup functionality.
with aon@iki.fi
Diffstat (limited to 'app/cwm')
-rw-r--r-- | app/cwm/cwm.1 | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/app/cwm/cwm.1 b/app/cwm/cwm.1 index de0245dcc..da648ba09 100644 --- a/app/cwm/cwm.1 +++ b/app/cwm/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 |