2017-12-07 09:25:33 -07:00
|
|
|
.\" $OpenBSD: cwmrc.5,v 1.69 2017/12/07 16:25:33 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.
|
|
|
|
.\"
|
2017-12-07 09:25:33 -07:00
|
|
|
.Dd $Mdocdate: December 7 2017 $
|
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
|
2016-12-01 10:17:27 -07:00
|
|
|
.It Ic bind-key Ar key function
|
|
|
|
Bind or rebind key
|
|
|
|
.Ar key
|
|
|
|
to
|
|
|
|
.Ar function .
|
2008-05-18 13:33:36 -06:00
|
|
|
The modifier keys come first, followed by a
|
2016-12-01 10:17:27 -07:00
|
|
|
.Sq - ,
|
|
|
|
then a keysym name, taken from
|
|
|
|
.Pa /usr/X11R6/include/X11/keysymdef.h .
|
2008-05-18 13:33:36 -06:00
|
|
|
.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
|
2016-12-01 10:17:27 -07:00
|
|
|
.Ar function
|
2008-06-13 15:22:34 -06:00
|
|
|
may either be one from the
|
2016-12-01 10:17:27 -07:00
|
|
|
.Sx BIND FUNCTION LIST
|
2008-06-13 15:22:34 -06:00
|
|
|
(see below) or the command line that is to be executed.
|
2008-03-23 09:09:21 -06:00
|
|
|
.Pp
|
2016-12-01 10:17:27 -07:00
|
|
|
.It Ic bind-mouse Ar button function
|
|
|
|
Bind or rebind button
|
|
|
|
.Ar button
|
|
|
|
to
|
|
|
|
.Ar function .
|
|
|
|
The modifier keys come first, followed by a
|
|
|
|
.Sq - ,
|
|
|
|
then the button number.
|
|
|
|
.Pp
|
|
|
|
The following modifiers are recognised:
|
|
|
|
.Pp
|
|
|
|
.Bl -tag -width Ds -offset indent -compact
|
|
|
|
.It Ic C
|
|
|
|
Control key.
|
|
|
|
.It Ic M
|
|
|
|
Meta key.
|
|
|
|
.It Ic S
|
|
|
|
Shift key.
|
|
|
|
.It Ic 4
|
|
|
|
Mod4 (windows) key.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The following buttons are recognised:
|
|
|
|
.Pp
|
|
|
|
.Bl -tag -width Ds -offset indent -compact
|
|
|
|
.It Ic 1
|
|
|
|
Left mouse button.
|
|
|
|
.It Ic 2
|
|
|
|
Middle mouse button.
|
|
|
|
.It Ic 3
|
|
|
|
Right mouse button.
|
|
|
|
.It Ic 4
|
|
|
|
Scroll up mouse button.
|
|
|
|
.It Ic 5
|
|
|
|
Scroll down mouse button.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Ar function
|
|
|
|
may be taken from the
|
|
|
|
.Sx BIND FUNCTION LIST
|
|
|
|
(see below) or the command line that is to be executed.
|
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-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.
|
2016-12-01 10:17:27 -07:00
|
|
|
.Pp
|
|
|
|
.It Ic unbind-key Ar key
|
|
|
|
Unbind function bound to
|
|
|
|
.Ar key .
|
|
|
|
A special
|
|
|
|
.Ar key
|
|
|
|
keyword
|
|
|
|
.Dq all
|
|
|
|
can be used to unbind all keys.
|
|
|
|
.Pp
|
|
|
|
.It Ic unbind-mouse Ar button
|
|
|
|
Unbind function bound to
|
|
|
|
.Ar button .
|
|
|
|
A special
|
|
|
|
.Ar button
|
|
|
|
keyword
|
|
|
|
.Dq all
|
|
|
|
can be used to unbind all buttons.
|
2008-05-18 13:33:36 -06:00
|
|
|
.El
|
2016-12-01 10:17:27 -07:00
|
|
|
.Sh BIND FUNCTION LIST
|
|
|
|
.Bl -tag -width 23n -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.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It menu-window
|
2008-07-11 09:42:29 -06:00
|
|
|
Launch window search menu.
|
2016-12-01 11:17:52 -07:00
|
|
|
.It menu-window-hidden
|
|
|
|
Launch hidden window search menu.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It menu-cmd
|
2008-07-11 09:42:29 -06:00
|
|
|
Launch application search menu.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It menu-group
|
2015-07-12 08:31:47 -06:00
|
|
|
Launch group search menu.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It menu-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.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It menu-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.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It menu-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.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It group-toggle-[n]
|
2016-10-05 08:01:23 -06:00
|
|
|
Toggle visibility of group n, where n is 1-9.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It group-only-[n]
|
|
|
|
Show only group n, where n is 1-9, hiding other groups.
|
2017-01-15 14:07:44 -07:00
|
|
|
.It group-toggle-all
|
2016-10-05 08:01:23 -06:00
|
|
|
Toggle visibility of all groups.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-group
|
2008-07-11 09:42:29 -06:00
|
|
|
Toggle group membership of current window.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-movetogroup-[n]
|
2009-05-17 11:04:59 -06:00
|
|
|
Hide current window from display and move to group n, where n is 1-9.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It group-cycle
|
2008-07-11 09:42:29 -06:00
|
|
|
Forward cycle through groups.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It group-rcycle
|
2008-07-11 09:42:29 -06:00
|
|
|
Reverse cycle through groups.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-cycle
|
2008-07-11 09:42:29 -06:00
|
|
|
Forward cycle through windows.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-rcycle
|
2008-07-11 09:42:29 -06:00
|
|
|
Reverse cycle through windows.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-cycle-ingroup
|
2011-09-03 03:20:58 -06:00
|
|
|
Forward cycle through windows in current group.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-rcycle-ingroup
|
2011-09-03 03:20:58 -06:00
|
|
|
Reverse cycle through windows in current group.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-delete
|
2008-07-11 09:42:29 -06:00
|
|
|
Delete current window.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-hide
|
2008-07-11 09:42:29 -06:00
|
|
|
Hide current window.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-lower
|
2008-07-11 09:42:29 -06:00
|
|
|
Lower current window.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-raise
|
2008-07-11 09:42:29 -06:00
|
|
|
Raise current window.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-menu-label
|
2008-07-11 09:42:29 -06:00
|
|
|
Label current window.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-freeze
|
2011-05-07 11:15:37 -06:00
|
|
|
Freeze current window geometry.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-stick
|
2014-08-25 06:49:19 -06:00
|
|
|
Stick current window to all groups (same as assigning to nogroup).
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-fullscreen
|
2013-12-16 12:02:17 -07:00
|
|
|
Full-screen current window (gap + border removed).
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-maximize
|
2013-12-16 12:02:17 -07:00
|
|
|
Maximize current window (gap + border honored).
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-vmaximize
|
2013-12-16 12:02:17 -07:00
|
|
|
Vertically maximize current window (gap + border honored).
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-hmaximize
|
2013-12-16 12:02:17 -07:00
|
|
|
Horizontally maximize current window (gap + border honored).
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-htile
|
2017-04-24 06:18:04 -06:00
|
|
|
Current window is placed at the top of the screen, maximized
|
2017-07-06 11:09:17 -06:00
|
|
|
horizontally and resized to half of the vertical screen space.
|
|
|
|
Other windows in its group share remaining screen space.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-vtile
|
2017-04-24 06:18:04 -06:00
|
|
|
Current window is placed on the left of the screen, maximized vertically
|
2017-07-06 11:09:17 -06:00
|
|
|
and resized to half of the horizontal screen space.
|
|
|
|
Other windows in its group share remaining screen space.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-move
|
|
|
|
Move current window.
|
|
|
|
.It window-resize
|
|
|
|
Resize current window.
|
|
|
|
.It window-move-up
|
2009-02-07 14:07:00 -07:00
|
|
|
Move window
|
|
|
|
.Ar moveamount
|
|
|
|
pixels up.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-move-down
|
2009-02-07 14:07:00 -07:00
|
|
|
Move window
|
|
|
|
.Ar moveamount
|
|
|
|
pixels down.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-move-right
|
2009-02-07 14:07:00 -07:00
|
|
|
Move window
|
|
|
|
.Ar moveamount
|
|
|
|
pixels right.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-move-left
|
2009-02-07 14:07:00 -07:00
|
|
|
Move window
|
|
|
|
.Ar moveamount
|
|
|
|
pixels left.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-move-up-big
|
2009-02-07 14:07:00 -07:00
|
|
|
Move window 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels up.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-move-down-big
|
2009-02-07 14:07:00 -07:00
|
|
|
Move window 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels down.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-move-right-big
|
2009-02-07 14:07:00 -07:00
|
|
|
Move window 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels right.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-move-left-big
|
2009-02-07 14:07:00 -07:00
|
|
|
Move window 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels left.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-resize-up
|
2009-02-07 14:07:00 -07:00
|
|
|
Resize window
|
|
|
|
.Ar moveamount
|
|
|
|
pixels up.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-resize-down
|
2009-02-07 14:07:00 -07:00
|
|
|
Resize window
|
|
|
|
.Ar moveamount
|
|
|
|
pixels down.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-resize-right
|
2009-02-07 14:07:00 -07:00
|
|
|
Resize window
|
|
|
|
.Ar moveamount
|
|
|
|
pixels right.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-resize-left
|
2009-02-07 14:07:00 -07:00
|
|
|
Resize window
|
|
|
|
.Ar moveamount
|
|
|
|
pixels left.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-resize-up-big
|
2009-02-07 14:07:00 -07:00
|
|
|
Resize window 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels up.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-resize-down-big
|
2009-02-07 14:07:00 -07:00
|
|
|
Resize window 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels down.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-resize-right-big
|
2009-02-07 14:07:00 -07:00
|
|
|
Resize window 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels right.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It window-resize-left-big
|
2009-02-07 14:07:00 -07:00
|
|
|
Resize window 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels left.
|
2017-12-07 09:25:33 -07:00
|
|
|
.It window-snap-up
|
|
|
|
Snap window to top edge.
|
|
|
|
.It window-snap-down
|
|
|
|
Snap window to bottom edge.
|
|
|
|
.It window-snap-right
|
|
|
|
Snap window to right edge.
|
|
|
|
.It window-snap-left
|
|
|
|
Snap window to left edge.
|
|
|
|
.It window-snap-up-right
|
|
|
|
Snap window to top-right corner.
|
|
|
|
.It window-snap-up-left
|
|
|
|
Snap window to top-left corner.
|
|
|
|
.It window-snap-down-right
|
|
|
|
Snap window to bottom-right corner.
|
|
|
|
.It window-snap-down-left
|
|
|
|
Snap window to bottom-left corner.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It pointer-move-up
|
2009-02-07 14:07:00 -07:00
|
|
|
Move pointer
|
|
|
|
.Ar moveamount
|
|
|
|
pixels up.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It pointer-move-down
|
2009-02-07 14:07:00 -07:00
|
|
|
Move pointer
|
|
|
|
.Ar moveamount
|
|
|
|
pixels down.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It pointer-move-right
|
2009-02-07 14:07:00 -07:00
|
|
|
Move pointer
|
|
|
|
.Ar moveamount
|
|
|
|
pixels right.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It pointer-move-left
|
2009-02-07 14:07:00 -07:00
|
|
|
Move pointer
|
|
|
|
.Ar moveamount
|
|
|
|
pixels left.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It pointer-move-up-big
|
2009-02-07 14:07:00 -07:00
|
|
|
Move pointer 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels up.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It pointer-move-down-big
|
2009-02-07 14:07:00 -07:00
|
|
|
Move pointer 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels down.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It pointer-move-right-big
|
2009-02-07 14:07:00 -07:00
|
|
|
Move pointer 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels right.
|
2016-12-01 10:17:27 -07:00
|
|
|
.It pointer-move-left-big
|
2009-02-07 14:07:00 -07:00
|
|
|
Move pointer 10 times
|
|
|
|
.Ar moveamount
|
|
|
|
pixels left.
|
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
|
2016-12-01 10:17:27 -07:00
|
|
|
bind-key CM-r window-menu-label
|
|
|
|
bind-key CS-Return "xterm -e top"
|
|
|
|
bind-key C4-equal window-vmaximize
|
|
|
|
bind-key C4S-equal window-hmaximize
|
|
|
|
bind-key M-1 group-only-1
|
|
|
|
bind-key M-2 group-only-2
|
|
|
|
bind-key M-3 group-only-3
|
|
|
|
bind-key MS-1 window-movetogroup-1
|
|
|
|
bind-key MS-2 window-movetogroup-2
|
|
|
|
bind-key MS-3 window-movetogroup-3
|
|
|
|
unbind-key 4-o
|
|
|
|
unbind-key CM-equal
|
|
|
|
unbind-key CMS-equal
|
2015-05-31 17:07:36 -06:00
|
|
|
|
|
|
|
# Mouse bindings
|
2016-12-01 10:17:27 -07:00
|
|
|
bind-mouse M-2 window-lower
|
|
|
|
bind-mouse M-3 window-resize
|
2015-05-31 17:07:36 -06:00
|
|
|
.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 .
|