X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/10dfa65860d770cbce2cdaf67618f44f726a27c3..f3016cb8be4ed2ea7a5bdd7024adc3296df8d03d:/dwm.1?ds=sidebyside diff --git a/dwm.1 b/dwm.1 index 13b3729..038682b 100644 --- a/dwm.1 +++ b/dwm.1 @@ -33,7 +33,7 @@ dwm draws a small border around windows to indicate the focus state. .SH OPTIONS .TP .B \-v -prints version information to standard output, then exits. +prints version information to stderr, then exits. .SH USAGE .SS Status bar .TP @@ -49,112 +49,155 @@ label toggles between tiled and floating layout. .B Button3 click on a tag label adds/removes all windows with that tag to/from the view. .TP -.B Mod1\-Button1 +.B Super\-Button1 click on a tag label applies that tag to the focused window. .TP -.B Mod1\-Button3 +.B Super\-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 Mod1\-p -Spawn -.BR dmenu(1) -for launching other programs. -.TP -.B Mod1\-, +.B Super\-, Focus previous screen, if any. .TP -.B Mod1\-. +.B Super\-. Focus next screen, if any. .TP -.B Mod1\-Shift\-, +.B Super\-Shift\-, Send focused window to previous screen, if any. .TP -.B Mod1\-Shift\-. +.B Super\-Shift\-. Send focused window to next screen, if any. .TP -.B Mod1\-b -Toggles bar on and off. -.TP -.B Mod1\-t +.B Super\-t Sets tiled layout. .TP -.B Mod1\-f -Sets floating layout. -.TP -.B Mod1\-m +.B Super\-m Sets monocle layout. .TP -.B Mod1\-space -Toggles between current and previous layout. +.B Super\-f +Sets spiral layout. .TP -.B Mod1\-j -Focus next window. +.B Super\-r +Sets dwindle layout. .TP -.B Mod1\-k -Focus previous window. +.B Super\-Shift\-f +Toggle fullscreen for focused window. +.TP +.B Super\-B +Toggles bar on and off. +.TP +.B Super\-space +Toggles between current and previous layout. +.TP +.B Super\-Shift\-space +Toggle focused window between tiled and floating state. .TP -.B Mod1\-i +.B Super\-i Increase number of windows in master area. .TP -.B Mod1\-d +.B Super\-d Decrease number of windows in master area. .TP -.B Mod1\-l -Increase master area size. -.TP -.B Mod1\-h -Decrease master area size. +.B Super\-j +Focus next window. .TP -.B Mod1\-Return -Zooms/cycles focused window to/from master area (tiled layouts only). +.B Super\-k +Focus previous window. .TP -.B Mod1\-Shift\-c -Close focused window. +.B Super\-l +Increase master area size. .TP -.B Mod1\-Shift\-space -Toggle focused window between tiled and floating state. +.B Super\-h +Decrease master area size. .TP -.B Mod1\-Tab +.B Super\-Tab Toggles to the previously selected tags. .TP -.B Mod1\-Shift\-[1..n] +.B Super\-Shift\-[1..n] Apply nth tag to focused window. .TP -.B Mod1\-Shift\-0 +.B Super\-Shift\-0 Apply all tags to focused window. .TP -.B Mod1\-Control\-Shift\-[1..n] +.B Super\-Control\-Shift\-[1..n] Add/remove nth tag to/from focused window. .TP -.B Mod1\-[1..n] +.B Super\-[1..n] View all windows with nth tag. .TP -.B Mod1\-0 +.B Super\-0 View all windows with any tag. .TP -.B Mod1\-Control\-[1..n] +.B Super\-Control\-[1..n] Add/remove all windows with nth tag to/from the view. .TP -.B Mod1\-Shift\-q +.B Super\-- +Increase the window size. +.TP +.B Super\-+ +Decrease the window size. +.TP +.B Super\-= +Reset the windows size. +.TP +.B Super\-Shift\-q Quit dwm. +.TP +.B Super\-Control\-Shift\-q +Restart dwm. +.SS Launch and Actions +.TP +.B Super\-q +Close focused window. +.TP +.B Super\-p +Spawn +.BR dmenu(1) +for launching other programs. +.TP +.B Super\-Return +Start +.BR st(1). +.TP +.B Super\-L +Lock screen, +.BR slock. +.TP +.B Super\-w +Web browser +.BR firefox. +.TP +.B Super\-n +Network +.BR nmtui. +.TP +.B Super\-v +View system status +.BR htop. +.TP +.B Super\-s +Sound +.BR alsamixer. .SS Mouse commands .TP -.B Mod1\-Button1 +.B Super\-Button1 Move focused window while dragging. Tiled windows will be toggled to the floating state. .TP -.B Mod1\-Button2 +.B Super\-Button2 Toggles focused window between floating and tiled state. .TP -.B Mod1\-Button3 +.B Super\-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)