From 3741b52e54f04ce0cbcb6c9ce213f461be2f569c Mon Sep 17 00:00:00 2001 From: Xinqi Bao Date: Tue, 5 Apr 2022 02:21:58 +0800 Subject: [PATCH] man page updated --- dwm.1 | 148 +++++++++++++++++++++++++++++++++------------------------- 1 file changed, 84 insertions(+), 64 deletions(-) diff --git a/dwm.1 b/dwm.1 index 764b86f..038682b 100644 --- a/dwm.1 +++ b/dwm.1 @@ -49,124 +49,144 @@ 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 Mod1\-i -Increase number of windows in master area. +.B Super\-B +Toggles bar on and off. .TP -.B Mod1\-d -Decrease number of windows in master area. +.B Super\-space +Toggles between current and previous layout. .TP -.B Mod1\-l -Increase master area size. +.B Super\-Shift\-space +Toggle focused window between tiled and floating state. .TP -.B Mod1\-h -Decrease master area size. +.B Super\-i +Increase number of windows in master area. .TP -.B Mod1\-Return -Zooms/cycles focused window to/from master area (tiled layouts only). +.B Super\-d +Decrease number of windows in master area. .TP -.B Mod1\-Shift\-c -Close focused window. +.B Super\-j +Focus next window. .TP -.B Mod1\-Shift\-f -Toggle fullscreen for focused window. +.B Super\-k +Focus previous window. .TP -.B Mod1\-Shift\-space -Toggle focused window between tiled and floating state. +.B Super\-l +Increase master area size. .TP -.B Mod1\-Tab +.B Super\-h +Decrease master area size. +.TP +.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\-- -Decrease the gaps around windows. +.B Super\-- +Increase the window size. .TP -.B Mod1\-= -Increase the gaps around windows. +.B Super\-+ +Decrease the window size. .TP -.B Mod1\-Shift-= -Reset the gaps around windows to -.BR 0 . +.B Super\-= +Reset the windows size. .TP -.B Mod1\-Shift\-q +.B Super\-Shift\-q Quit dwm. .TP -.B Mod1\-Control\-Shift\-q +.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 -- 2.20.1