clarify autogroup option; based on diffs from kspillner@acm.org with

feedback from jmc
This commit is contained in:
okan 2012-10-28 20:13:02 +00:00
parent 742bcec522
commit 56358be755

26
cwmrc.5
View File

@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" .\"
.Dd $Mdocdate: November 6 2011 $ .Dd $Mdocdate: July 6 2012 $
.Dt CWMRC 5 .Dt CWMRC 5
.Os .Os
.Sh NAME .Sh NAME
@ -39,18 +39,26 @@ Arguments containing whitespace should be surrounded by double quotes
The following options are accepted: The following options are accepted:
.Pp .Pp
.Bl -tag -width Ds -compact .Bl -tag -width Ds -compact
.It Ic autogroup Ar group windowname .It Ic autogroup Ar group windowclass
.It Ic autogroup Ar group windowname,windowclass .It Ic autogroup Ar group windowname,windowclass
Control automatic window grouping, based on the name and/or class Automatically add new windows to
properties, where .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 .Ar group
is a number between 0 and 9. is a number between 0 and 9.
If the group number is 0, then the window will not be grouped; this to If
allow for .Ar group
.Dq sticky is 0, matching windows will not be added to any group; this may be
windows in sticky group mode. used to override
.Dq sticky group mode .
.Pp .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 . .Xr xprop 1 .
.Pp .Pp
.It Ic bind Ar keys command .It Ic bind Ar keys command