💾 Archived View for gemini.rmf-dev.com › repo › Vaati › fdwm › files › ddc8321fdae431984eb5e8a898fa8… captured on 2023-03-20 at 18:33:18. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

🚧 View Differences

-=-=-=-=-=-=-

0 .TH DWM 1 dwm\-VERSION

1 .SH NAME

2 dwm \- dynamic window manager

3 .SH SYNOPSIS

4 .B dwm

5 .RB [ \-v ]

6 .SH DESCRIPTION

7 dwm is a dynamic window manager for X. It manages windows in tiled, monocle

8 and floating layouts. Either layout can be applied dynamically, optimising the

9 environment for the application in use and the task performed.

10 .P

11 In tiled layouts windows are managed in a master and stacking area. The master

12 area on the left contains one window by default, and the stacking area on the

13 right contains all other windows. The number of master area windows can be

14 adjusted from zero to an arbitrary number. In monocle layout all windows are

15 maximised to the screen size. In floating layout windows can be resized and

16 moved freely. Dialog windows are always managed floating, regardless of the

17 layout applied.

18 .P

19 Windows are grouped by tags. Each window can be tagged with one or multiple

20 tags. Selecting certain tags displays all windows with these tags.

21 .P

22 Each screen contains a small status bar which displays all available tags, the

23 layout, the title of the focused window, and the text read from the root window

24 name property, if the screen is focused. A floating window is indicated with an

25 empty square and a maximised floating window is indicated with a filled square

26 before the windows title. The selected tags are indicated with a different

27 color. The tags of the focused window are indicated with a filled square in the

28 top left corner. The tags which are applied to one or more windows are

29 indicated with an empty square in the top left corner.

30 .P

31 dwm draws a small border around windows to indicate the focus state.

32 .SH OPTIONS

33 .TP

34 .B \-v

35 prints version information to stderr, then exits.

36 .SH USAGE

37 .SS Status bar

38 .TP

39 .B X root window name

40 is read and displayed in the status text area. It can be set with the

41 .BR xsetroot (1)

42 command.

43 .TP

44 .B Button1

45 click on a tag label to display all windows with that tag, click on the layout

46 label toggles between tiled and floating layout.

47 .TP

48 .B Button3

49 click on a tag label adds/removes all windows with that tag to/from the view.

50 .TP

51 .B Mod1\-Button1

52 click on a tag label applies that tag to the focused window.

53 .TP

54 .B Mod1\-Button3

55 click on a tag label adds/removes that tag to/from the focused window.

56 .SS Keyboard commands

57 .TP

58 .B Mod1\-Shift\-Return

59 Start

60 .BR st(1).

61 .TP

62 .B Mod1\-p

63 Spawn

64 .BR dmenu(1)

65 for launching other programs.

66 .TP

67 .B Mod1\-,

68 Focus previous screen, if any.

69 .TP

70 .B Mod1\-.

71 Focus next screen, if any.

72 .TP

73 .B Mod1\-Shift\-,

74 Send focused window to previous screen, if any.

75 .TP

76 .B Mod1\-Shift\-.

77 Send focused window to next screen, if any.

78 .TP

79 .B Mod1\-b

80 Toggles bar on and off.

81 .TP

82 .B Mod1\-t

83 Sets tiled layout.

84 .TP

85 .B Mod1\-f

86 Sets floating layout.

87 .TP

88 .B Mod1\-m

89 Sets monocle layout.

90 .TP

91 .B Mod1\-space

92 Toggles between current and previous layout.

93 .TP

94 .B Mod1\-j

95 Focus next window.

96 .TP

97 .B Mod1\-k

98 Focus previous window.

99 .TP

100 .B Mod1\-i

101 Increase number of windows in master area.

102 .TP

103 .B Mod1\-d

104 Decrease number of windows in master area.

105 .TP

106 .B Mod1\-l

107 Increase master area size.

108 .TP

109 .B Mod1\-h

110 Decrease master area size.

111 .TP

112 .B Mod1\-Return

113 Zooms/cycles focused window to/from master area (tiled layouts only).

114 .TP

115 .B Mod1\-Shift\-c

116 Close focused window.

117 .TP

118 .B Mod1\-Shift\-space

119 Toggle focused window between tiled and floating state.

120 .TP

121 .B Mod1\-Tab

122 Toggles to the previously selected tags.

123 .TP

124 .B Mod1\-Shift\-[1..n]

125 Apply nth tag to focused window.

126 .TP

127 .B Mod1\-Shift\-0

128 Apply all tags to focused window.

129 .TP

130 .B Mod1\-Control\-Shift\-[1..n]

131 Add/remove nth tag to/from focused window.

132 .TP

133 .B Mod1\-[1..n]

134 View all windows with nth tag.

135 .TP

136 .B Mod1\-0

137 View all windows with any tag.

138 .TP

139 .B Mod1\-Control\-[1..n]

140 Add/remove all windows with nth tag to/from the view.

141 .TP

142 .B Mod1\-Shift\-q

143 Quit dwm.

144 .SS Mouse commands

145 .TP

146 .B Mod1\-Button1

147 Move focused window while dragging. Tiled windows will be toggled to the floating state.

148 .TP

149 .B Mod1\-Button2

150 Toggles focused window between floating and tiled state.

151 .TP

152 .B Mod1\-Button3

153 Resize focused window while dragging. Tiled windows will be toggled to the floating state.

154 .SH CUSTOMIZATION

155 dwm is customized by creating a custom config.h and (re)compiling the source

156 code. This keeps it fast, secure and simple.

157 .SH SEE ALSO

158 .BR dmenu (1),

159 .BR st (1)

160 .SH ISSUES

161 Java applications which use the XToolkit/XAWT backend may draw grey windows

162 only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early

163 JDK 1.6 versions, because it assumes a reparenting window manager. Possible workarounds

164 are using JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or setting the

165 environment variable

166 .BR AWT_TOOLKIT=MToolkit

167 (to use the older Motif backend instead) or running

168 .B xprop -root -f _NET_WM_NAME 32a -set _NET_WM_NAME LG3D

169 or

170 .B wmname LG3D

171 (to pretend that a non-reparenting window manager is running that the

172 XToolkit/XAWT backend can recognize) or when using OpenJDK setting the environment variable

173 .BR _JAVA_AWT_WM_NONREPARENTING=1 .

174 .SH BUGS

175 Send all bug reports with a patch to hackers@suckless.org.

176