CWM(1) | General Commands Manual | CWM(1) |
cwm
— a
lightweight and efficient window manager for X11
cwm |
[-nv ] [-c
file] [-d
display] |
cwm
is a window manager for X11 which
contains many features that concentrate on the efficiency and transparency
of window management, while maintaining the simplest and most pleasant
aesthetic.
The options are as follows:
-c
filecwm
loads ~/.cwmrc, if
present. Any error messages from lines in the configuration file will be
sent to
stderr;
however, cwm
will continue to process the rest of
the configuration file.-d
display-n
-v
-v
options increase the
verbosity.cwm
actions are initiated either via key
or mouse bindings. The following notations are used throughout this
page:
The default key bindings are:
CM-Return
CM-Delete
M-Return
M-Down
M-Up
M-slash
C-slash
CM-n
M-Tab
MS-Tab
M-grave
MS-grave
CM-x
CM-[n]
CM-a
CM-g
M-Right
M-Left
CMS-f
CM-s
CM-f
CM-m
CM-equal
CMS-equal
M-[hjkl]
MS-[hjkl]
CM-[hjkl]
CMS-[hjkl]
M-question
M-period
CM-w
CMS-r
CMS-q
The default mouse bindings are:
The following key bindings may be used to navigate search and exec dialogs:
[Return]
[Down],
C-s
or M-j
[Up],
C-r
or M-k
[Backspace]
or C-h
C-u
C-a
[Esc]
cwm
rereads its configuration file when it
receives a hangup signal, SIGHUP
, by executing
itself with the name and arguments with which it was started. This is
equivalent to the restart function.
cwm
features the ability to search for
windows by their current title, old titles, and by their label. The priority
for the search results are: label, current title, old titles in reverse
order, and finally window class name. cwm
keeps a
history of the 5 previous titles of a window.
When searching, the leftmost character of the result list may show a flag:
cwm
manages a list of applications defined
with the command
configuration option.
cwm
has the ability to group windows
together, and use the groups to perform operations on the entire group
instead of just one window. Together with the sticky
option, this can be used to emulate virtual desktops.
To edit groups, use the group selection commands to toggle membership of a group. A blue border will be shown briefly on windows added to the current group, and a red border will be shown on those just removed.
Menus are recalled by clicking the mouse on the root window:
M1
M2
M3
cwm
starts on this display unless the
-d
option is given.cwm
configuration file.cwm
was originally inspired by evilwm, but
was rewritten from scratch due to limitations in the evilwm codebase. The
from-scratch rewrite borrowed some code from 9wm, however that code has
since been removed or rewritten.
cwm
first appeared in
OpenBSD 4.2.
cwm
was developed by
Marius Aamodt Eriksen
⟨marius@monkey.org⟩ with contributions from
Andy Adamson ⟨dros@monkey.org⟩,
Niels Provos ⟨provos@monkey.org⟩, and
Antti Nykänen ⟨aon@iki.fi⟩.
Ideas, discussion with many others.
January 7, 2025 | Ragnarok |