.\" 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)