|
|
@ -20,14 +20,16 @@ layout applied. |
|
|
|
Windows are grouped by tags. Each window can be tagged with one or multiple |
|
|
|
Windows are grouped by tags. Each window can be tagged with one or multiple |
|
|
|
tags. Selecting certain tags displays all windows with these tags. |
|
|
|
tags. Selecting certain tags displays all windows with these tags. |
|
|
|
.P |
|
|
|
.P |
|
|
|
Each screen contains a small status bar which displays all available tags, the |
|
|
|
Each screen can contain a small status bar which displays all available tags, the |
|
|
|
layout, the title of the focused window, and the text read from the root window |
|
|
|
layout, the title of the focused window, and the text read from the root window |
|
|
|
name property, if the screen is focused. A floating window is indicated with an |
|
|
|
name property, if the screen is focused. A floating window is indicated with an |
|
|
|
empty square and a maximised floating window is indicated with a filled square |
|
|
|
empty square and a maximised floating window is indicated with a filled square |
|
|
|
before the windows title. The selected tags are indicated with a different |
|
|
|
before the windows title. The selected tags are indicated with a different |
|
|
|
color. The tags of the focused window are indicated with a filled square in the |
|
|
|
color. The tags of the focused window are indicated with a filled square in the |
|
|
|
top left corner. The tags which are applied to one or more windows are |
|
|
|
top left corner. The tags which are applied to one or more windows are |
|
|
|
indicated with an empty square in the top left corner. |
|
|
|
indicated with an empty square in the top left corner. This bar is hidden by |
|
|
|
|
|
|
|
default and can be enabled using |
|
|
|
|
|
|
|
.BR Super\-b |
|
|
|
.P |
|
|
|
.P |
|
|
|
dwm draws a small border around windows to indicate the focus state. |
|
|
|
dwm draws a small border around windows to indicate the focus state. |
|
|
|
.SH OPTIONS |
|
|
|
.SH OPTIONS |
|
|
@ -49,114 +51,120 @@ label toggles between tiled and floating layout. |
|
|
|
.B Button3 |
|
|
|
.B Button3 |
|
|
|
click on a tag label adds/removes all windows with that tag to/from the view. |
|
|
|
click on a tag label adds/removes all windows with that tag to/from the view. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-Button1 |
|
|
|
.B Super\-Button1 |
|
|
|
click on a tag label applies that tag to the focused window. |
|
|
|
click on a tag label applies that tag to the focused window. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-Button3 |
|
|
|
.B Super\-Button3 |
|
|
|
click on a tag label adds/removes that tag to/from the focused window. |
|
|
|
click on a tag label adds/removes that tag to/from the focused window. |
|
|
|
.SS Keyboard commands |
|
|
|
.SS Keyboard commands |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-Shift\-Return |
|
|
|
.B Super\-Return |
|
|
|
Start |
|
|
|
Start |
|
|
|
.BR st(1). |
|
|
|
.BR st(1). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The new terminal window will try to open in the working directory of the |
|
|
|
|
|
|
|
currently focused window. It relies on the focused window's last child process |
|
|
|
|
|
|
|
having the cwd set. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-p |
|
|
|
.B Super\-p |
|
|
|
Spawn |
|
|
|
Spawn |
|
|
|
.BR dmenu(1) |
|
|
|
.BR rofi(1) |
|
|
|
for launching other programs. |
|
|
|
for launching other programs. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-, |
|
|
|
.B Super\-, |
|
|
|
Focus previous screen, if any. |
|
|
|
Focus previous screen, if any. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-. |
|
|
|
.B Super\-. |
|
|
|
Focus next screen, if any. |
|
|
|
Focus next screen, if any. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-Shift\-, |
|
|
|
.B Super\-Shift\-, |
|
|
|
Send focused window to previous screen, if any. |
|
|
|
Send focused window to previous screen, if any. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-Shift\-. |
|
|
|
.B Super\-Shift\-. |
|
|
|
Send focused window to next screen, if any. |
|
|
|
Send focused window to next screen, if any. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-b |
|
|
|
.B Super\-b |
|
|
|
Toggles bar on and off. |
|
|
|
Toggles bar on and off. (default: off) |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-t |
|
|
|
.B Super\-t |
|
|
|
Sets tiled layout. |
|
|
|
Sets tiled layout. (default) |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-f |
|
|
|
.B Super\-f |
|
|
|
Sets floating layout. |
|
|
|
Sets floating layout. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-m |
|
|
|
.B Super\-m |
|
|
|
Sets monocle layout. |
|
|
|
Sets monocle layout. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-space |
|
|
|
.B Super\-space |
|
|
|
Toggles between current and previous layout. |
|
|
|
Toggles between current and previous layout. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-j |
|
|
|
.B Super\-j |
|
|
|
Focus next window. |
|
|
|
Focus next window. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-k |
|
|
|
.B Super\-k |
|
|
|
Focus previous window. |
|
|
|
Focus previous window. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-i |
|
|
|
.B Super\-i |
|
|
|
Increase number of windows in master area. |
|
|
|
Increase number of windows in master area. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-d |
|
|
|
.B Super\-d |
|
|
|
Decrease number of windows in master area. |
|
|
|
Decrease number of windows in master area. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-l |
|
|
|
.B Super\-l |
|
|
|
Increase master area size. |
|
|
|
Increase master area size. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-h |
|
|
|
.B Super\-h |
|
|
|
Decrease master area size. |
|
|
|
Decrease master area size. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-Return |
|
|
|
.B Super\-Shift\-Return |
|
|
|
Zooms/cycles focused window to/from master area (tiled layouts only). |
|
|
|
Zooms/cycles focused window to/from master area (tiled layouts only). |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-Shift\-c |
|
|
|
.B Super\-q |
|
|
|
Close focused window. |
|
|
|
Close focused window. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-Shift\-space |
|
|
|
.B Super\-Shift\-space |
|
|
|
Toggle focused window between tiled and floating state. |
|
|
|
Toggle focused window between tiled and floating state. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-Tab |
|
|
|
.B Super\-Tab |
|
|
|
Toggles to the previously selected tags. |
|
|
|
Toggles to the previously selected tags. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-Shift\-[1..n] |
|
|
|
.B Super\-Shift\-[1..n] |
|
|
|
Apply nth tag to focused window. |
|
|
|
Apply nth tag to focused window. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-Shift\-0 |
|
|
|
.B Super\-Shift\-0 |
|
|
|
Apply all tags to focused window. |
|
|
|
Apply all tags to focused window. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-Control\-Shift\-[1..n] |
|
|
|
.B Super\-Control\-Shift\-[1..n] |
|
|
|
Add/remove nth tag to/from focused window. |
|
|
|
Add/remove nth tag to/from focused window. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-[1..n] |
|
|
|
.B Super\-[1..n] |
|
|
|
View all windows with nth tag. |
|
|
|
View all windows with nth tag. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-0 |
|
|
|
.B Super\-0 |
|
|
|
View all windows with any tag. |
|
|
|
View all windows with any tag. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-Control\-[1..n] |
|
|
|
.B Super\-Control\-[1..n] |
|
|
|
Add/remove all windows with nth tag to/from the view. |
|
|
|
Add/remove all windows with nth tag to/from the view. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-Shift\-q |
|
|
|
.B Super\-Shift\-r |
|
|
|
Quit dwm. |
|
|
|
Quit dwm. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This should restart dwm if started in a loop in .xinitrc. |
|
|
|
.SS Mouse commands |
|
|
|
.SS Mouse commands |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-Button1 |
|
|
|
.B Super\-Button1 |
|
|
|
Move focused window while dragging. Tiled windows will be toggled to the floating state. |
|
|
|
Move focused window while dragging. Tiled windows will be toggled to the floating state. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-Button2 |
|
|
|
.B Super\-Button2 |
|
|
|
Toggles focused window between floating and tiled state. |
|
|
|
Toggles focused window between floating and tiled state. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
.B Mod1\-Button3 |
|
|
|
.B Super\-Button3 |
|
|
|
Resize focused window while dragging. Tiled windows will be toggled to the floating state. |
|
|
|
Resize focused window while dragging. Tiled windows will be toggled to the floating state. |
|
|
|
.SH CUSTOMIZATION |
|
|
|
.SH CUSTOMIZATION |
|
|
|
dwm is customized by creating a custom config.h and (re)compiling the source |
|
|
|
dwm is customized by creating a custom config.h and (re)compiling the source |
|
|
|
code. This keeps it fast, secure and simple. |
|
|
|
code. This keeps it fast, secure and simple. |
|
|
|
.SH SEE ALSO |
|
|
|
.SH SEE ALSO |
|
|
|
.BR dmenu (1), |
|
|
|
.BR rofi (1), |
|
|
|
.BR st (1) |
|
|
|
.BR st (1) |
|
|
|
.SH ISSUES |
|
|
|
.SH ISSUES |
|
|
|
Java applications which use the XToolkit/XAWT backend may draw grey windows |
|
|
|
Java applications which use the XToolkit/XAWT backend may draw grey windows |
|
|
|