2016-10-05 08:01:23 -06:00
|
|
|
.\" $OpenBSD: cwmrc.5,v 1.63 2016/10/05 14:01:23 okan Exp $
|
2008-03-23 09:09:21 -06:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 2004,2005 Marius Aamodt Eriksen <marius@monkey.org>
|
|
|
|
.\"
|
|
|
|
.\" Permission to use, copy, modify, and distribute this software for any
|
|
|
|
.\" purpose with or without fee is hereby granted, provided that the above
|
|
|
|
.\" copyright notice and this permission notice appear in all copies.
|
|
|
|
.\"
|
|
|
|
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
|
|
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
|
|
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
|
|
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
|
|
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
|
|
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
|
|
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
.\"
|
2016-10-05 08:01:23 -06:00
|
|
|
.Dd $Mdocdate: October 5 2016 $
|
2008-04-27 19:27:46 -06:00
|
|
|
.Dt CWMRC 5
|
2008-03-23 09:09:21 -06:00
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm cwmrc
|
|
|
|
.Nd calm window manager configuration file
|
|
|
|
.Sh DESCRIPTION
|
2008-05-18 13:33:36 -06:00
|
|
|
This manual page describes the
|
2008-03-23 09:09:21 -06:00
|
|
|
.Xr cwm 1
|
2008-05-18 13:33:36 -06:00
|
|
|
configuration file.
|
2011-06-25 07:12:56 -06:00
|
|
|
.Pp
|
|
|
|
The current line can be extended over multiple lines using a backslash
|
|
|
|
.Pq Sq \e .
|
|
|
|
Comments can be put anywhere in the file using a hash mark
|
|
|
|
.Pq Sq # ,
|
|
|
|
and extend to the end of the current line.
|
|
|
|
Care should be taken when commenting out multi-line text:
|
|
|
|
the comment is effective until the end of the entire block.
|
|
|
|
.Pp
|
|
|
|
Arguments containing whitespace should be surrounded by double quotes
|
|
|
|
.Pq \&" .
|
|
|
|
.Pp
|
|
|
|
The following options are accepted:
|
2008-03-23 09:09:21 -06:00
|
|
|
.Pp
|
2008-05-18 13:33:36 -06:00
|
|
|
.Bl -tag -width Ds -compact
|
2012-10-28 14:13:02 -06:00
|
|
|
.It Ic autogroup Ar group windowclass
|
2010-07-30 06:28:19 -06:00
|
|
|
.It Ic autogroup Ar group windowname,windowclass
|
2012-10-28 14:13:02 -06:00
|
|
|
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.
|
2012-11-28 21:25:49 -07:00
|
|
|
The more specific last match wins.
|
2008-05-18 13:33:36 -06:00
|
|
|
.Ar group
|
2008-05-19 11:13:55 -06:00
|
|
|
is a number between 0 and 9.
|
2012-10-28 14:13:02 -06:00
|
|
|
If
|
|
|
|
.Ar group
|
|
|
|
is 0, matching windows will not be added to any group; this may be
|
|
|
|
used to override
|
|
|
|
.Dq sticky group mode .
|
2008-03-23 09:09:21 -06:00
|
|
|
.Pp
|
2012-11-07 07:58:26 -07:00
|
|
|
The name and class values, respectively, for existing windows
|
2012-11-07 07:59:07 -07:00
|
|
|
are both set in the WM_CLASS property and may be obtained using
|
2008-05-18 13:33:36 -06:00
|
|
|
.Xr xprop 1 .
|
2008-03-23 09:09:21 -06:00
|
|
|
.Pp
|
2009-08-08 11:27:51 -06:00
|
|
|
.It Ic bind Ar keys command
|
2014-01-29 14:17:33 -07:00
|
|
|
Cause the creation of a key binding, or replacement of a default
|
|
|
|
key binding.
|
2008-05-18 13:33:36 -06:00
|
|
|
The modifier keys come first, followed by a
|
|
|
|
.Sq - .
|
|
|
|
.Pp
|
2008-03-23 09:09:21 -06:00
|
|
|
The following modifiers are recognised:
|
2008-05-18 13:33:36 -06:00
|
|
|
.Pp
|
|
|
|
.Bl -tag -width Ds -offset indent -compact
|
2015-05-31 17:07:36 -06:00
|
|
|
.It Ic C
|
|
|
|
Control key.
|
|
|
|
.It Ic M
|
|
|
|
Meta key.
|
|
|
|
.It Ic S
|
|
|
|
Shift key.
|
|
|
|
.It Ic 4
|
|
|
|
Mod4 (windows) key.
|
2008-03-23 09:09:21 -06:00
|
|
|
.El
|
2008-05-18 13:33:36 -06:00
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Sq -
|
2013-11-27 09:24:17 -07:00
|
|
|
should be followed by a keysym name, taken from
|
|
|
|
.Pa /usr/X11R6/include/X11/keysymdef.h .
|
2008-05-18 13:33:36 -06:00
|
|
|
The
|
|
|
|
.Ar command
|
2008-06-13 15:22:34 -06:00
|
|
|
may either be one from the
|
|
|
|
.Sx BIND COMMAND LIST
|
|
|
|
(see below) or the command line that is to be executed.
|
2008-03-23 09:09:21 -06:00
|
|
|
.Pp
|
2008-05-18 13:33:36 -06:00
|
|
|
A special
|
|
|
|
.Ar command
|
|
|
|
keyword
|
|
|
|
.Dq unmap
|
2014-01-29 14:17:33 -07:00
|
|
|
can be used to remove the named key binding.
|
2008-05-18 13:33:36 -06:00
|
|
|
This can be used to remove a binding which conflicts with an
|
|
|
|
application.
|
2008-03-23 09:09:21 -06:00
|
|
|
.Pp
|
2009-01-21 08:04:38 -07:00
|
|
|
.It Ic borderwidth Ar pixels
|
|
|
|
Set the window border width to
|
|
|
|
.Ar pixels .
|
|
|
|
.Pp
|
2009-05-17 17:40:57 -06:00
|
|
|
.It Ic color activeborder Ar color
|
|
|
|
Set the color of the active border.
|
|
|
|
.Pp
|
2011-09-08 06:35:33 -06:00
|
|
|
.It Ic color font Ar color
|
|
|
|
Set menu font color.
|
|
|
|
.Pp
|
2012-12-16 19:28:45 -07:00
|
|
|
.It Ic color selfont Ar color
|
|
|
|
Set font color for selected menu item.
|
|
|
|
.Pp
|
2009-05-17 17:40:57 -06:00
|
|
|
.It Ic color groupborder Ar color
|
|
|
|
Set the color of the border while grouping a window.
|
|
|
|
.Pp
|
|
|
|
.It Ic color inactiveborder Ar color
|
|
|
|
Set the color of the inactive border.
|
|
|
|
.Pp
|
2011-09-08 06:07:03 -06:00
|
|
|
.It Ic color menubg Ar color
|
|
|
|
Set menu background color.
|
|
|
|
.Pp
|
|
|
|
.It Ic color menufg Ar color
|
|
|
|
Set menu foreground color.
|
|
|
|
.Pp
|
2013-12-13 07:40:52 -07:00
|
|
|
.It Ic color urgencyborder Ar color
|
|
|
|
Set the color of the border of a window indicating urgency.
|
|
|
|
.Pp
|
2009-05-17 17:40:57 -06:00
|
|
|
.It Ic color ungroupborder Ar color
|
|
|
|
Set the color of the border while ungrouping a window.
|
|
|
|
.Pp
|
2009-08-08 11:27:51 -06:00
|
|
|
.It Ic command Ar name path
|
2008-05-18 13:33:36 -06:00
|
|
|
Every
|
|
|
|
.Ar name
|
|
|
|
entry is shown in the application menu.
|
|
|
|
When selected, the defined
|
|
|
|
.Ar path
|
|
|
|
is executed with
|
|
|
|
.Xr execve 2 .
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Ar name
|
|
|
|
entries
|
|
|
|
.Nm term
|
|
|
|
and
|
|
|
|
.Nm lock
|
|
|
|
have a special meaning.
|
|
|
|
They point to the terminal and screen locking programs specified by
|
2014-01-29 14:17:33 -07:00
|
|
|
key bindings.
|
2008-05-18 13:33:36 -06:00
|
|
|
The defaults are
|
|
|
|
.Xr xterm 1
|
|
|
|
and
|
|
|
|
.Xr xlock 1 ,
|
|
|
|
respectively.
|
|
|
|
.Pp
|
|
|
|
.It Ic fontname Ar font
|
|
|
|
Change the default
|
|
|
|
.Ar font
|
|
|
|
for
|
|
|
|
.Xr Xft 3 .
|
2008-03-23 09:09:21 -06:00
|
|
|
.Pp
|
2008-04-15 12:46:58 -06:00
|
|
|
.It Ic gap Ar top bottom left right
|
2008-05-18 13:33:36 -06:00
|
|
|
Define a
|
|
|
|
.Dq gap
|
|
|
|
in pixels at the edge of the screen, so that when a
|
|
|
|
window is maximized it will not overlap this area.
|
|
|
|
This
|
|
|
|
.Dq gap
|
|
|
|
can be used for applications such as
|
2008-04-15 12:46:58 -06:00
|
|
|
.Xr xclock 1 ,
|
2008-05-18 13:33:36 -06:00
|
|
|
where the user may wish to remain visible.
|
2008-04-15 12:46:58 -06:00
|
|
|
.Pp
|
2008-05-18 13:33:36 -06:00
|
|
|
.It Ic ignore Ar windowname
|
2010-09-25 14:04:55 -06:00
|
|
|
Ignore, and do not warp to, windows with the name
|
2008-09-22 08:35:16 -06:00
|
|
|
.Ar windowname
|
|
|
|
when drawing borders and cycling through windows.
|
2008-05-18 13:33:36 -06:00
|
|
|
.Pp
|
2009-08-08 11:27:51 -06:00
|
|
|
.It Ic mousebind Ar buttons command
|
2008-06-14 15:48:54 -06:00
|
|
|
Cause the creation of a mouse binding, or replacement of a default
|
|
|
|
mouse binding.
|
|
|
|
The modifier keys come first, followed by a
|
|
|
|
.Sq - .
|
2010-09-25 15:48:08 -06:00
|
|
|
.Pp
|
2008-06-14 15:48:54 -06:00
|
|
|
The following modifiers are recognised:
|
|
|
|
.Pp
|
|
|
|
.Bl -tag -width Ds -offset indent -compact
|
2015-05-31 17:07:36 -06:00
|
|
|
.It Ic C
|
|
|
|
Control key.
|
|
|
|
.It Ic M
|
|
|
|
Meta key.
|
|
|
|
.It Ic S
|
|
|
|
Shift key.
|
|
|
|
.It Ic 4
|
|
|
|
Mod4 (windows) key.
|
2008-06-14 15:48:54 -06:00
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Sq -
|
|
|
|
should be followed by number:
|
2010-09-25 15:48:08 -06:00
|
|
|
.Pp
|
2008-06-14 15:48:54 -06:00
|
|
|
.Bl -tag -width Ds -offset indent -compact
|
2015-05-31 17:07:36 -06:00
|
|
|
.It Ic 1
|
2008-06-14 15:48:54 -06:00
|
|
|
Left mouse button.
|
2015-05-31 17:07:36 -06:00
|
|
|
.It Ic 2
|
2008-06-14 15:48:54 -06:00
|
|
|
Middle mouse button.
|
2015-05-31 17:07:36 -06:00
|
|
|
.It Ic 3
|
2009-05-04 16:01:35 -06:00
|
|
|
Right mouse button.
|
2015-05-31 17:07:36 -06:00
|
|
|
.It Ic 4
|
2013-06-16 18:57:47 -06:00
|
|
|
Scroll up mouse button.
|
2015-05-31 17:07:36 -06:00
|
|
|
.It Ic 5
|
2013-06-16 18:57:47 -06:00
|
|
|
Scroll down mouse button.
|
2008-06-14 15:48:54 -06:00
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Ar command
|
|
|
|
may be taken from the
|
|
|
|
.Sx MOUSEBIND COMMAND LIST
|
|
|
|
(see below).
|
|
|
|
.Pp
|
2009-02-07 14:07:00 -07:00
|
|
|
.It Ic moveamount Ar pixels
|
|
|
|
Set a default size for the keyboard movement bindings,
|
|
|
|
in pixels.
|
|
|
|
The default is 1.
|
|
|
|
.Pp
|
2011-11-05 20:03:47 -06:00
|
|
|
.It Ic snapdist Ar pixels
|
|
|
|
Minimum distance to snap-to adjacent edge, in pixels.
|
|
|
|
The default is 0.
|
|
|
|
.Pp
|
2008-05-18 13:33:36 -06:00
|
|
|
.It Ic sticky Ic yes Ns \&| Ns Ic no
|
|
|
|
Toggle sticky group mode.
|
|
|
|
The default behavior for new windows is to not assign any group.
|
|
|
|
By enabling sticky group mode,
|
|
|
|
.Xr cwm 1
|
|
|
|
will assign new windows to the currently selected group.
|
|
|
|
.El
|
2008-06-13 15:22:34 -06:00
|
|
|
.Sh BIND COMMAND LIST
|
|
|
|
.Bl -tag -width 18n -compact
|
2012-10-31 13:30:19 -06:00
|
|
|
.It restart
|
|
|
|
Restart the running
|
|
|
|
.Xr cwm 1 .
|
2008-06-13 15:22:34 -06:00
|
|
|
.It quit
|
2008-07-11 09:42:29 -06:00
|
|
|
Quit
|
|
|
|
.Xr cwm 1 .
|
2008-06-13 15:22:34 -06:00
|
|
|
.It terminal
|
2008-07-11 09:42:29 -06:00
|
|
|
Spawn a new terminal.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It lock
|
2008-07-11 09:42:29 -06:00
|
|
|
Lock the screen.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It search
|
2008-07-11 09:42:29 -06:00
|
|
|
Launch window search menu.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It menusearch
|
2008-07-11 09:42:29 -06:00
|
|
|
Launch application search menu.
|
2015-07-12 08:31:47 -06:00
|
|
|
.It groupsearch
|
|
|
|
Launch group search menu.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It exec
|
2008-07-11 09:42:29 -06:00
|
|
|
Launch
|
2008-06-13 15:22:34 -06:00
|
|
|
.Dq exec program
|
2008-07-11 09:42:29 -06:00
|
|
|
menu.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It exec_wm
|
2008-07-11 09:42:29 -06:00
|
|
|
Launch
|
2008-06-13 15:22:34 -06:00
|
|
|
.Dq exec WindowManager
|
2008-07-11 09:42:29 -06:00
|
|
|
menu.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It ssh
|
2008-07-11 09:42:29 -06:00
|
|
|
Launch
|
2008-06-13 15:22:34 -06:00
|
|
|
.Dq ssh
|
2008-07-11 09:42:29 -06:00
|
|
|
menu.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It group[n]
|
2016-10-05 08:01:23 -06:00
|
|
|
Toggle visibility of group n, where n is 1-9.
|
2009-05-14 10:24:04 -06:00
|
|
|
.It grouponly[n]
|
|
|
|
Like
|
|
|
|
.Ar group[n]
|
|
|
|
but also hides the other groups.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It nogroup
|
2016-10-05 08:01:23 -06:00
|
|
|
Toggle visibility of all groups.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It grouptoggle
|
2008-07-11 09:42:29 -06:00
|
|
|
Toggle group membership of current window.
|
2009-05-17 11:04:59 -06:00
|
|
|
.It movetogroup[n]
|
|
|
|
Hide current window from display and move to group n, where n is 1-9.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It cyclegroup
|
2008-07-11 09:42:29 -06:00
|
|
|
Forward cycle through groups.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It rcyclegroup
|
2008-07-11 09:42:29 -06:00
|
|
|
Reverse cycle through groups.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It cycle
|
2008-07-11 09:42:29 -06:00
|
|
|
Forward cycle through windows.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It rcycle
|
2008-07-11 09:42:29 -06:00
|
|
|
Reverse cycle through windows.
|
2011-09-03 03:20:58 -06:00
|
|
|
.It cycleingroup
|
|
|
|
Forward cycle through windows in current group.
|
|
|
|
.It rcycleingroup
|
|
|
|
Reverse cycle through windows in current group.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It delete
|
2008-07-11 09:42:29 -06:00
|
|
|
Delete current window.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It hide
|
2008-07-11 09:42:29 -06:00
|
|
|
Hide current window.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It lower
|
2008-07-11 09:42:29 -06:00
|
|
|
Lower current window.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It raise
|
2008-07-11 09:42:29 -06:00
|
|
|
Raise current window.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It label
|
2008-07-11 09:42:29 -06:00
|
|
|
Label current window.
|
2011-05-07 11:15:37 -06:00
|
|
|
.It freeze
|
|
|
|
Freeze current window geometry.
|
2016-09-12 07:47:00 -06:00
|
|
|
.It stick
|
2014-08-25 06:49:19 -06:00
|
|
|
Stick current window to all groups (same as assigning to nogroup).
|
2013-12-16 12:02:17 -07:00
|
|
|
.It fullscreen
|
|
|
|
Full-screen current window (gap + border removed).
|
2008-06-13 15:22:34 -06:00
|
|
|
.It maximize
|
2013-12-16 12:02:17 -07:00
|
|
|
Maximize current window (gap + border honored).
|
2008-06-13 15:22:34 -06:00
|
|
|
.It vmaximize
|
2013-12-16 12:02:17 -07:00
|
|
|
Vertically maximize current window (gap + border honored).
|
2009-08-24 17:54:41 -06:00
|
|
|
.It hmaximize
|
2013-12-16 12:02:17 -07:00
|
|
|
Horizontally maximize current window (gap + border honored).
|
2008-06-13 15:22:34 -06:00
|
|
|
.It moveup
|
2009-02-07 14:07:00 -07:00
|
|
|
Move window
|
|
|
|
.Ar moveamount
|
|
|
|
pixels up.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It movedown
|
2009-02-07 14:07:00 -07:00
|
|
|
Move window
|
|
|
|
.Ar moveamount
|
|
|
|
pixels down.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It moveright
|
2009-02-07 14:07:00 -07:00
|
|
|
Move window
|
|
|
|
.Ar moveamount
|
|
|
|
pixels right.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It moveleft
|
2009-02-07 14:07:00 -07:00
|
|
|
Move window
|
|
|
|
.Ar moveamount
|
|
|
|
pixels left.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It bigmoveup
|
2009-02-07 14:07:00 -07:00
|
|
|
Move window 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels up.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It bigmovedown
|
2009-02-07 14:07:00 -07:00
|
|
|
Move window 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels down.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It bigmoveright
|
2009-02-07 14:07:00 -07:00
|
|
|
Move window 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels right.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It bigmoveleft
|
2009-02-07 14:07:00 -07:00
|
|
|
Move window 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels left.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It resizeup
|
2009-02-07 14:07:00 -07:00
|
|
|
Resize window
|
|
|
|
.Ar moveamount
|
|
|
|
pixels up.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It resizedown
|
2009-02-07 14:07:00 -07:00
|
|
|
Resize window
|
|
|
|
.Ar moveamount
|
|
|
|
pixels down.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It resizeright
|
2009-02-07 14:07:00 -07:00
|
|
|
Resize window
|
|
|
|
.Ar moveamount
|
|
|
|
pixels right.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It resizeleft
|
2009-02-07 14:07:00 -07:00
|
|
|
Resize window
|
|
|
|
.Ar moveamount
|
|
|
|
pixels left.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It bigresizeup
|
2009-02-07 14:07:00 -07:00
|
|
|
Resize window 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels up.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It bigresizedown
|
2009-02-07 14:07:00 -07:00
|
|
|
Resize window 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels down.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It bigresizeright
|
2009-02-07 14:07:00 -07:00
|
|
|
Resize window 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels right.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It bigresizeleft
|
2009-02-07 14:07:00 -07:00
|
|
|
Resize window 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels left.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It ptrmoveup
|
2009-02-07 14:07:00 -07:00
|
|
|
Move pointer
|
|
|
|
.Ar moveamount
|
|
|
|
pixels up.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It ptrmovedown
|
2009-02-07 14:07:00 -07:00
|
|
|
Move pointer
|
|
|
|
.Ar moveamount
|
|
|
|
pixels down.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It ptrmoveright
|
2009-02-07 14:07:00 -07:00
|
|
|
Move pointer
|
|
|
|
.Ar moveamount
|
|
|
|
pixels right.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It ptrmoveleft
|
2009-02-07 14:07:00 -07:00
|
|
|
Move pointer
|
|
|
|
.Ar moveamount
|
|
|
|
pixels left.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It bigptrmoveup
|
2009-02-07 14:07:00 -07:00
|
|
|
Move pointer 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels up.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It bigptrmovedown
|
2009-02-07 14:07:00 -07:00
|
|
|
Move pointer 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels down.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It bigptrmoveright
|
2009-02-07 14:07:00 -07:00
|
|
|
Move pointer 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels right.
|
2008-06-13 15:22:34 -06:00
|
|
|
.It bigptrmoveleft
|
2009-02-07 14:07:00 -07:00
|
|
|
Move pointer 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels left.
|
2013-01-08 08:16:04 -07:00
|
|
|
.It htile
|
|
|
|
Current window is placed at the top of the screen and maximized
|
|
|
|
horizontally, other windows in its group share remaining screen space.
|
|
|
|
.It vtile
|
|
|
|
Current window is placed on the left of the screen and maximized
|
|
|
|
vertically, other windows in its group share remaining screen space.
|
2008-06-13 15:22:34 -06:00
|
|
|
.El
|
2008-06-14 15:48:54 -06:00
|
|
|
.Sh MOUSEBIND COMMAND LIST
|
|
|
|
.Bl -tag -width 18n -compact
|
|
|
|
.It window_move
|
2008-07-11 09:42:29 -06:00
|
|
|
Move current window.
|
2008-06-14 15:48:54 -06:00
|
|
|
.It window_resize
|
2008-07-11 09:42:29 -06:00
|
|
|
Resize current window.
|
2008-06-14 15:48:54 -06:00
|
|
|
.It window_lower
|
2008-07-11 09:42:29 -06:00
|
|
|
Lower current window.
|
2011-06-24 00:09:26 -06:00
|
|
|
.It window_raise
|
|
|
|
Raise current window.
|
2008-06-25 16:44:42 -06:00
|
|
|
.It window_hide
|
2008-07-11 09:42:29 -06:00
|
|
|
Hide current window.
|
2008-06-14 15:48:54 -06:00
|
|
|
.It window_grouptoggle
|
2008-07-11 09:42:29 -06:00
|
|
|
Toggle group membership of current window.
|
2013-07-08 12:39:20 -06:00
|
|
|
.It cyclegroup
|
|
|
|
Forward cycle through groups.
|
|
|
|
.It rcyclegroup
|
|
|
|
Reverse cycle through groups.
|
2008-06-14 15:48:54 -06:00
|
|
|
.It menu_group
|
2008-07-11 09:42:29 -06:00
|
|
|
Launch group list.
|
2008-06-14 15:48:54 -06:00
|
|
|
.It menu_unhide
|
2009-05-04 12:05:21 -06:00
|
|
|
Launch hidden window list.
|
2008-06-14 15:48:54 -06:00
|
|
|
.It menu_cmd
|
2008-07-11 09:42:29 -06:00
|
|
|
Launch command list.
|
2008-06-14 15:48:54 -06:00
|
|
|
.El
|
2008-05-18 13:33:36 -06:00
|
|
|
.Sh FILES
|
|
|
|
.Bl -tag -width "~/.cwmrcXXX" -compact
|
|
|
|
.It Pa ~/.cwmrc
|
2015-05-31 17:07:36 -06:00
|
|
|
Default
|
2008-05-18 13:33:36 -06:00
|
|
|
.Xr cwm 1
|
2015-05-31 17:07:36 -06:00
|
|
|
configuration file.
|
2008-03-23 09:09:21 -06:00
|
|
|
.El
|
2015-05-31 17:07:36 -06:00
|
|
|
.Sh EXAMPLES
|
|
|
|
.Bd -literal
|
|
|
|
# Set default Xft(3) font
|
|
|
|
fontname "sans-serif:pixelsize=14:bold"
|
|
|
|
|
|
|
|
# Turn on sticky-group mode
|
|
|
|
sticky yes
|
|
|
|
|
|
|
|
# Any entry here is shown in the application menu
|
|
|
|
command firefox firefox
|
|
|
|
command xmms xmms
|
|
|
|
command top "xterm -e top"
|
|
|
|
|
|
|
|
# Autogroup definitions
|
|
|
|
autogroup 3 "aterm,XTerm"
|
|
|
|
autogroup 3 "xterm,XTerm"
|
|
|
|
|
|
|
|
# Ignore programs by that name by not drawing borders around them.
|
|
|
|
ignore XMMS
|
|
|
|
ignore xwi
|
|
|
|
ignore xapm
|
|
|
|
ignore xclock
|
|
|
|
|
|
|
|
# Key bindings
|
|
|
|
bind CM-r label
|
|
|
|
bind CS-Return "xterm -e top"
|
|
|
|
bind 4-o unmap
|
|
|
|
bind CM-equal unmap
|
|
|
|
bind CMS-equal unmap
|
|
|
|
bind C4-equal vmaximize
|
|
|
|
bind C4S-equal hmaximize
|
|
|
|
bind M-1 grouponly1
|
|
|
|
bind M-2 grouponly2
|
|
|
|
bind M-3 grouponly3
|
|
|
|
bind MS-1 movetogroup1
|
|
|
|
bind MS-2 movetogroup2
|
|
|
|
bind MS-3 movetogroup3
|
|
|
|
|
|
|
|
# Mouse bindings
|
|
|
|
mousebind M-2 window_lower
|
|
|
|
mousebind M-3 window_resize
|
|
|
|
.Ed
|
2008-03-23 09:09:21 -06:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr cwm 1
|
|
|
|
.Sh HISTORY
|
2008-04-27 19:27:46 -06:00
|
|
|
The
|
2008-03-23 09:09:21 -06:00
|
|
|
.Nm
|
2008-04-27 19:27:46 -06:00
|
|
|
file format first appeared in
|
2008-03-23 09:09:21 -06:00
|
|
|
.Ox 4.4 .
|