summaryrefslogtreecommitdiff
path: root/dwm.1
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.1')
-rw-r--r--dwm.1162
1 files changed, 62 insertions, 100 deletions
diff --git a/dwm.1 b/dwm.1
index a728190..7b6cadb 100644
--- a/dwm.1
+++ b/dwm.1
@@ -42,170 +42,132 @@ is read and displayed in the status text area. It can be set with the
.BR xsetroot (1)
command.
.TP
-.B Common words explained for normies
-Super/Mod4 - Windows key.
-Master - The big window on the left.
-Stack - The 'stack' of windows on the right.
-Return - Enter key.
-Tags - Tags are the numbers in the top left of the status bar, they're like workspaces
-Button1 - Left Click
-Button2 - Middle Click/Mouse Wheel Click
-Button3 - Right Click
-.SS Keyboard commands
+.B Button1
+click on a tag label to display all windows with that tag, click on the layout
+label toggles between tiled and floating layout.
.TP
-.B Super\-Space
-Start the terminal defined by the TERMINAL definition in config.h, by default it is set to urxvt
+.B Button3
+click on a tag label adds/removes all windows with that tag to/from the view.
.TP
-.B Super\-Shift\-Space
-Start the terminal as root.
+.B Mod1\-Button1
+click on a tag label applies that tag to the focused window.
.TP
-.B Super\-d
-Spawn
-.BR dmenu(1)
-for launching other programs.
+.B Mod1\-Button3
+click on a tag label adds/removes that tag to/from the focused window.
+.SS Keyboard commands
+.TP
+.B Mod1\-Shift\-Return
+Start
+.BR st(1).
.TP
-.B Super\-g
+.B Mod1\-p
Spawn
.BR dmenu(1)
-for launching applications from ~/.local/games/ directory.
+for launching other programs.
.TP
-.B Super\-,
-Focus previous monitor, if any.
+.B Mod1\-,
+Focus previous screen, if any.
.TP
-.B Super\-.
-Focus next monitor, if any.
+.B Mod1\-.
+Focus next screen, if any.
.TP
-.B Super\-Shift\-,
-Send focused window to previous monitor, if any.
+.B Mod1\-Shift\-,
+Send focused window to previous screen, if any.
.TP
-.B Super\-Shift\-.
-Send focused window to next monitor, if any.
+.B Mod1\-Shift\-.
+Send focused window to next screen, if any.
.TP
-.B Super\-b
+.B Mod1\-b
Toggles bar on and off.
.TP
-.B Super\-t
+.B Mod1\-t
Sets tiled layout.
.TP
-.B Super\-f
+.B Mod1\-f
Sets floating layout.
.TP
-.B Super\-m
+.B Mod1\-m
Sets monocle layout.
.TP
-.B Super\-Shift\-Return
+.B Mod1\-space
Toggles between current and previous layout.
.TP
-.B Super\-j
+.B Mod1\-j
Focus next window.
.TP
-.B Super\-k
+.B Mod1\-k
Focus previous window.
.TP
-.B Super\-Shift\-j
-Rotate currently focused window down the stack, master window will be sent to the top of the stack.
-.TP
-.B Super\-Shift\-k
-Rotate currently focused window up the stack, master window will be sent to the bottom of the stack.
-.TP
-.B Super\-i
+.B Mod1\-i
Increase number of windows in master area.
.TP
-.B Super\-u
+.B Mod1\-d
Decrease number of windows in master area.
.TP
-.B Super\-l
+.B Mod1\-l
Increase master area size.
.TP
-.B Super\-h
+.B Mod1\-h
Decrease master area size.
.TP
-.B Alt\-Tab
+.B Mod1\-Return
Zooms/cycles focused window to/from master area (tiled layouts only).
.TP
-.B Super\-q
+.B Mod1\-Shift\-c
Close focused window.
.TP
-.B Super\-Return
+.B Mod1\-Shift\-space
Toggle focused window between tiled and floating state.
.TP
-.B Super\-Tab
-Toggles to the previously selected tag.
+.B Mod1\-Tab
+Toggles to the previously selected tags.
.TP
-.B Super\-Shift\-[1..n]
+.B Mod1\-Shift\-[1..n]
Apply nth tag to focused window.
.TP
-.B Super\-Shift\-0
+.B Mod1\-Shift\-0
Apply all tags to focused window.
.TP
-.B Super\-Control\-Shift\-[1..n]
+.B Mod1\-Control\-Shift\-[1..n]
Add/remove nth tag to/from focused window.
.TP
-.B Super\-[1..n]
+.B Mod1\-[1..n]
View all windows with nth tag.
.TP
-.B Super\-0
+.B Mod1\-0
View all windows with any tag.
.TP
-.B Super\-Minus
-Decrease size of gaps around windows.
-.TP
-.B Super\-Equals
-Increase size of gaps around windows.
-.TP
-.B Super\-Shift\-Equals
-Remove gaps around windows.
-.TP
-.B Super\-Control\-[1..n]
+.B Mod1\-Control\-[1..n]
Add/remove all windows with nth tag to/from the view.
.TP
-.B Super\-Shift\-r
-Restart dwm.
+.B Mod1\-Shift\-q
+Quit dwm.
.TP
-.B Super\-Shift\-End
-Exit dwm.
-.TP
-.B Super\-w
-Opens web browser defined by BROWSER in config.h.
-.TP
-.B Super\-e
-Opens lf (file manager) in a urxvt instance.
-.TP
-.B Super\-s
-Opens Steam.
-.TP
-.B Super\-Shift\-h
-Opens a terminal instance running htop.
-.TP
-.B Super\-Shift\-n
-Opens a terminal instance running neovim.
-.TP
-.B Super\-Shift\-m
-Opens a terminal instance running neomutt.
-.TP
-.B Control\-Alt\-Delete
-Locks the screen using slock, requires slock to be installed to work.
-.TP
-.B Super\-PrintScreen
-Takes a screenshot using scrot.
-.TP
-.B Super\-v
-Allows you to pick a string of text to paste from a bookmarks file using a dmenu prompt, default path is ~/.local/share/bookmarks/bookmarksfile, requires xclip.
-.SS Mouse commands
+.B Mod1\-Control\-Shift\-q
+Restart dwm.
+.SS Mouse commands
.TP
-.B Super\-LMB
+.B Mod1\-Button1
Move focused window while dragging. Tiled windows will be toggled to the floating state.
.TP
-.B Super\-MMB
+.B Mod1\-Button2
Toggles focused window between floating and tiled state.
.TP
-.B Super\-RMB
+.B Mod1\-Button3
Resize focused window while dragging. Tiled windows will be toggled to the floating state.
.SH CUSTOMIZATION
dwm is customized by creating a custom config.h and (re)compiling the source
code. This keeps it fast, secure and simple.
+.SH SIGNALS
+.TP
+.B SIGHUP - 1
+Restart the dwm process.
+.TP
+.B SIGTERM - 15
+Cleanly terminate the dwm process.
.SH SEE ALSO
.BR dmenu (1),
+.BR st (1)
.SH ISSUES
Java applications which use the XToolkit/XAWT backend may draw grey windows
only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early