Documentation is good. Man pages are documentation. A program without a man page is worthless.
KMD35CIPPZE27FH5RWER5I3WJPCRGZXN4ZYML2PZVIAWS2T3MVMAC .Dd January 8, 2021.Dt DWL 1.Os.Sh NAME.Nm dwl.Nd dwm for Wayland.Sh SYNOPSIS.Nm.Op Fl s Ar command.Sh DESCRIPTION.Nmis a Wayland compositor based on wlroots.It is intended to fill the same space in the Wayland world that.Nm dwmdoes for X11..PpWhen given the.Fl soption,.Nmstarts a shell process running.Ar commandwhen starting.When stopping, it sends.Dv SIGTERMto the child process and waits for it to exit..PpUsers are encouraged to customize.Nmby editing the sources, in particular.Pa config.h .The default key bindings are as follows:.Bl -tag -width 20n -offset indent -compact.It Mod-[1-9]Show only all windows with a tag..It Mod-Ctrl-[1-9]Show all windows with a tag..It Mod-Shift-[1-9]Move window to a single tag..It Mod-Ctrl-Shift-[1-9]Toggle tag for window..It Mod-pSpawn.Nm bemenu-run ..It Mod-Shift-ReturnSpawn.Nm alacritty ..It Mod-[jk]Move focus down/up the stack..It Mod-[id]Increase/decrease number of windows in master area..It Mod-[hl]Decrease/increase master area..It Mod-ReturnMove window on top of stack or switch top of stack with second window..It Mod-TabShow only all windows with previous tag..It Mod-Shift-cClose window..It Mod-tSwitch to tabbed layout..It Mod-fSwitch to floating layout..It Mod-mSwitch to monocle layout..It Mod-SpaceSwitch to previous layout..It Mod-Shift-SpaceToggle floating state of window..It Mod-eToggle fullscreen state of window..It Mod-0Show all windows..It Mod-Shift-0Set all tags for window..It Mod-,Move focus to previous monitor..It Mod-.Move focus to next monitor..It Mod-Shift-,Move window to previous monitor..It Mod-Shift-.Move window to next monitor..It Mod-Shift-qQuit.Nm ..ElThese might differ depending on your keyboard layout..Sh ENVIRONMENTThese environment variables are used by.Nm :.Bl -tag -width XDG_RUNTIME_DIR.It Ev XDG_RUNTIME_DIRA directory where temporary user files, such as the Wayland socket,are stored..It Ev XDG_CONFIG_DIRA directory containung configuration of various programs andlibraries, including libxkbcommon..It Ev DISPLAY , WAYLAND_DISPLAY , WAYLAND_SOCKETTell how to connect to an underlying X11 or Wayland server..It Ev WLR_*Various variables specific to wlroots..It Ev XKB_* , XLOCALEDIR , XCOMPOSEFILEVarious variables specific to libxkbcommon..It Ev XCURSOR_PATHList of directories to search for XCursor themes in..It Ev HOMEA directory where there are always dear files there for you.Waiting for you to clean them up..El.PpThese are set by.Nm :.Bl -tag -width WAYLAND_DISPLAY.It Ev WAYLAND_DISPLAYTell how to connect to.Nm ..It Ev DISPLAYIf using.Nm Xwayland ,tell how to connect to the.Nm Xwaylandserver..El.Sh EXAMPLESStart.Nmwith s6 in the background:.Dl dwl -s 's6-svscan <&-'.Sh SEE ALSO.Xr alacritty 1 ,.Xr bemenu 1 ,.Xr dwm 1 ,.Xr xkeyboard-config 7.Sh CAVEATSThe child process's standard input is connected with a pipe to.Nm .If the child process neither reads from the pipe nor closes itsstandard input,.Nmwill freeze after a while due to it blocking when writing to the fullpipe buffer..Sh BUGSAll of them.