1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
.\" dwm-config.5 - configuration manual for dwm window manager
.TH DWM\-CONFIG 5 "November 2024" "Version 1.0" "Morinaga OS Manual"
.SH NAME
dwm\-config \- configuration file for the dynamic window manager
.SH DESCRIPTION
The configuration for dwm is done by creating a custom
.B config.h
and (re)compiling the source code. Under Morinaga OS, dwm is modified to work with the FORTRAN input system and Watson window manager.
.SH CONFIGURATION VARIABLES
.TP
.B borderpx
Border pixel width of windows. Default: 3
.TP
.B gappih, gappiv, gappoh, gappov
Inner and outer gaps between windows:
.br
\- gappih: horizontal inner gap (20)
.br
\- gappiv: vertical inner gap (10)
.br
\- gappoh: horizontal outer gap (10)
.br
\- gappov: vertical outer gap (30)
.TP
.B snap
Snap pixel distance. Default: 32
.TP
.B showbar
Bar visibility (0=hidden, 1=shown). Default: 1
.TP
.B topbar
Bar position (0=bottom, 1=top). Default: 1
.TP
.B fonts
Array of font specifications:
.br
"Chicago 12.1:Regular::size=25",
.br
"CustomSymbols:pixelsize=30:antialias=true:autohint=true"
.TP
.B colors
Color scheme array:
.br
normbgcolor[] = "#FFFFFF"
.br
normbordercolor[] = "#444444"
.br
normfgcolor[] = "#000000"
.SH MPV RULES
.TP
.B static const Rule rules[]
Special rules for MPV instances:
.PP
.nf
.RS
{ "mpv_0", NULL, 1 << 1, 0, 0, 0, -1 },
{ "mpv_1", NULL, 1 << 10, 0, 0, 0, -1 },
{ "mpv_2", NULL, 1 << 11, 0, 0, 0, -1 },
/* ... */
.RE
.fi
.SH SCRATCHPADS
Predefined scratchpad terminals:
.TP
.B spterm
General purpose terminal
.TP
.B spcalc
Calculator terminal
.TP
.B spmpc
Music player terminal
.TP
.B sprof
Profanity terminal
.TP
.B spmuks
Gomuks terminal
.SH KEY BINDINGS
.TP
.B MODKEY + [1-9]
Switch to tag
.TP
.B MODKEY + Shift + [1-9]
Move window to tag
.TP
.B MODKEY + b
Toggle bar
.TP
.B MODKEY + ampersand
Switch to mpv_1
.TP
.B MODKEY + bracketleft
Switch to mpv_2
.TP
.B MODKEY + j/k
Focus next/previous window
.SH TAG DEFINITIONS
Custom tag symbols:
.PP
.nf
.RS
static const char *tags[] = {
"&", "[", "{", "}", "(", "=", "*",
")", "+", "]", "!", "#", "@", "-", "v"
};
.RE
.fi
.SH FILES
.TP
.I config.h
Main configuration file
.SH SEE ALSO
.BR dwm (1),
.BR morinaga (1),
.BR watson (1)
|