From 35887fbdf6e97591feb8f0daf1d7123a5bbe9ed5 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 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'cwm.1') diff --git a/cwm.1 b/cwm.1 index a2efc77..d592ae6 100644 --- a/cwm.1 +++ b/cwm.1 @@ -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 1.4.1