From 277d9634c908300bfb933f4062be73f659f3c22c Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Mon, 6 May 2019 19:57:38 +0100 Subject: [PATCH] Makes changes to man page to reflect my modifications --- dwm.1 | 86 ++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 47 insertions(+), 39 deletions(-) diff --git a/dwm.1 b/dwm.1 index 13b3729..e7593b9 100644 --- a/dwm.1 +++ b/dwm.1 @@ -20,14 +20,16 @@ layout applied. Windows are grouped by tags. Each window can be tagged with one or multiple tags. Selecting certain tags displays all windows with these tags. .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 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 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 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 dwm draws a small border around windows to indicate the focus state. .SH OPTIONS @@ -49,114 +51,120 @@ 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 +.B Super\-Return Start .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 -.B Mod1\-p +.B Super\-p Spawn -.BR dmenu(1) +.BR rofi(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. +.B Super\-b +Toggles bar on and off. (default: off) .TP -.B Mod1\-t -Sets tiled layout. +.B Super\-t +Sets tiled layout. (default) .TP -.B Mod1\-f +.B Super\-f Sets floating layout. .TP -.B Mod1\-m +.B Super\-m Sets monocle layout. .TP -.B Mod1\-space +.B Super\-space Toggles between current and previous layout. .TP -.B Mod1\-j +.B Super\-j Focus next window. .TP -.B Mod1\-k +.B Super\-k Focus previous window. .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 +.B Super\-l Increase master area size. .TP -.B Mod1\-h +.B Super\-h Decrease master area size. .TP -.B Mod1\-Return +.B Super\-Shift\-Return Zooms/cycles focused window to/from master area (tiled layouts only). .TP -.B Mod1\-Shift\-c +.B Super\-q Close focused window. .TP -.B Mod1\-Shift\-space +.B Super\-Shift\-space Toggle focused window between tiled and floating state. .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\-Shift\-r Quit dwm. + +This should restart dwm if started in a loop in .xinitrc. .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 SEE ALSO -.BR dmenu (1), +.BR rofi (1), .BR st (1) .SH ISSUES Java applications which use the XToolkit/XAWT backend may draw grey windows