CWM(1)
π CWM(1) β the lightest, cutest window manager for X11 π
okay bestie, sit down, hydrate, because I'm about to introduce you to cwm β a lightweight and efficient window manager for X11 π¦ she's a General Commands Manual girlie and she is, no cap, the moment.
β¨ SYNOPSIS β¨
cwm [-nv] [-c file] [-d display]
πΈ DESCRIPTION πΈ
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. it's giving minimal. it's giving gorgeous. it ate and left no crumbs π
The options are as follows:
-cfile β Specify an alternative configuration file. By default,cwmloads~/.cwmrc, if present. Any error messages from lines in the configuration file will be sent tostderr; however,cwmwill continue to process the rest of the configuration file. bestie does NOT quit on you, she just keeps going through the whole file like a trooper ππ«Ά-ddisplay β Specify the display to use.-nβ Configtest mode. Only check the configuration file for validity. vibe check only, no launching β¨-vβ Verbose mode. Multiple-voptions increase the verbosity. stack 'em like lil scrunchies, the more the louder π
cwm actions are initiated either via key or mouse bindings. The following notations are used throughout this page:
Cβ Control key.Mβ Meta key.Sβ Shift key.4β Mod4 (windows) key.M1β Left mouse button.M2β Middle mouse button.M3β Right mouse button.
π The default key bindings are: π
CM-Returnβ Spawn a new terminal.CM-Deleteβ Lock the screen.M-Returnβ Hide current window.M-Downβ Lower current window.M-Upβ Raise current window.M-slashβ Search for windows.C-slashβ Search for applications.CM-nβ Label current window.M-Tabβ Cycle through currently visible windows.MS-Tabβ Reverse cycle through currently visible windows.M-graveβ Cycle through currently visible windows of the same window class.MS-graveβ Reverse cycle through currently visible windows of the same window class.CM-xβ Close current window.CM-[n]β Toggle visibility of groupn, wherenis1β9.CM-aβ Toggle visibility of all groups.CM-gβ Toggle group membership of current window.M-Rightβ Cycle through active groups.M-Leftβ Reverse cycle through active groups.CMS-fβ Toggle freezing geometry of current window.CM-sβ Toggle stickiness of current window.CM-fβ Toggle full-screen mode of current window.CM-mβ Toggle maximization of current window.CM-equalβ Toggle vertical maximization of current window.CMS-equalβ Toggle horizontal maximization of current window.M-[hjkl]β Move window by a small amount.MS-[hjkl]β Move window by a large amount; seecwmrc(5).CM-[hjkl]β Resize window by a small amount.CMS-[hjkl]β Resize window by a large amount; seecwmrc(5).M-questionβ Spawn βexec programβ dialog.M-periodβ Spawn βssh toβ dialog. This parses$HOME/.ssh/known_hoststo provide host auto-completion.ssh(1)will be executed via the configured terminal emulator. she read your known_hosts so you don't have to type it all out, iconique πCM-wβ Spawn βexec WindowManagerβ menu, allowing a switch to another window manager.CMS-rβ Restart.CMS-qβ Quit.
π±οΈ The default mouse bindings are: π±οΈ
M-M1β Move current window.CM-M1β Toggle group membership of current window.M-M2β Resize current windowM-M3β Lower current window.CMS-M3β Hide current window.
π¦ The following key bindings may be used to navigate search and exec dialogs: π¦
[Return]β Select item.[Down],C-sorM-jβ Next item.[Up],C-rorM-kβ Previous item.[Backspace]orC-hβ Backspace.C-uβ Clear input.C-aβ List all available items.[Esc]β Cancel.
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. so yeah, hang up on her and she just re-runs herself, main character energy fr fr π
π SEARCH π
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. five!! she remembers five whole titles, the memory on her πβ¨
When searching, the leftmost character of the result list may show a flag:
!β Window is currently focused.&β Window is hidden.
π APPLICATIONS π
cwm manages a list of applications defined with the command configuration option. cute lil roster, curated by you π
π GROUPS π
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. lowkey a whole virtual desktop situation, highkey iconic.
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. color-coded feedback?? we love a visual confirmation πβ€οΈ
π MENUS π
Menus are recalled by clicking the mouse on the root window:
M1β Show list of currently defined windows. Selecting an item will warp to that window, unhiding it if necessary.M2β Show list of currently defined groups. Selecting an item will hide/unhide that group.M3β Show list of applications as defined in the configuration file. Selecting an item will spawn that application.
π ENVIRONMENT π
DISPLAYβcwmstarts on this display unless the-doption is given.
π FILES π
~/.cwmrcβ Defaultcwmconfiguration file. your home, your rules bestie π‘
π«Ά SEE ALSO π«Ά
π HISTORY π
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. glow-up story of the century honestly π
β¨
cwm first appeared in OpenBSD 4.2. a legend from day one.
π AUTHORS π
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. the whole friend group pulled up for this one, we stan a collaborative effort π«Άπ
and that's the whole page bestie, every single flag, binding, border color and credit right where it belongs π―
this edition came to you from Debian, dated $Mdocdate$, and it will forever be filed under CWM(1) β¨ππ¦
π¦ where this page comes from
- ubuntu stonking: cwm 7.9-1 Β· ISC
- Copyright (c) 2004,2005 Marius Aamodt Eriksen <marius@monkey.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms