- about
- customisation/
- dynamic window management/
- faq/
- multi monitor/
- multi pointer/
- patches/
- activetagindicatorbar/
- actualfullscreen/
- alpha/
- alternativetags/
- alttagsdecoration/
- alwayscenter/
- alwaysfullscreen/
- alwaysontop/
- anybar/
- aspectresize/
- attachabove/
- attachaside/
- attachasideandbelow/
- attachbelow/
- attachbottom/
- attachdirection/
- attachtop/
- autoresize/
- autostart/
- awesomebar/
- bar height/
- barpadding/
- bartabgroups/
- bottomstack/
- canfocusrule/
- center/
- centeredmaster/
- centeredwindowname/
- centretitle/
- cfacts/
- clientindicators/
- clientopacity/
- clientspertag/
- cmdcustomize/
- colemak keys/
- colorbar/
- columns/
- combo/
- cool autostart/
- cropwindows/
- current desktop/
- cyclelayouts/
- deck/
- decoration hints/
- defaulttransparency/
- dmenumatchtop/
- dragmfact/
- dualstatus/
- dwmc/
- dwmfifo/
- emptyview/
- ewmhtags/
- exresize/
- extrabar/
- fakefullscreen/
- fancybar/
- fibonacci/
- flextile/
- float border color/
- floatrules/
- focusadjacenttag/
- focusmaster/
- focusonclick/
- focusonnetactive/
- focusurgent/
- freespace/
- fsignal/
- fullgaps/
- fullscreen/
- gaplessgrid/
- gaps/
- gestures/
- goback/
- graballkeycodes/
- gridmode/
- hide vacant tags/
- historical/
- holdbar/
- horizgrid/
- inplacerotate/
- insets/
- ipc/
- ispermanent/
- keychain/
- keycodes/
- keymodes/
- keypressrelease/
- killunsel/
- launcher/
- layoutmenu/
- leftlayout/
- leftstack/
- mark/
- maximize/
- monocle count/
- monoclesymbol/
- moveontagmon/
- moveplace/
- moveresize/
- movestack/
- movethrow/
- movetoedge/
- mpdcontrol/
- multikey/
- namedscratchpads/
- nametag/
- nextprev/
- nmaster/
- noborder/
- nodmenu/
- notitle/
- nrowgrid/
- onlyquitonempty/
- pango/
- pertag/
- pledge/
- push/
- pwkl/
- removeborder/
- reorganizetags/
- resetlayout/
- resetnmaster/
- resizecorners/
- restartsig/
- rmaster/
- rotatestack/
- ru gaps/
- save floats/
- scheme switch/
- scratchpad/
- scratchpads/
- script tags/
- selectivefakefullscreen/
- selfrestart/
- setborderpx/
- setstatus/
- showselmon/
- single tagset/
- singularborders/
- sizehints/
- smartborders/
- spawn cwd/
- splitstatus/
- sshawarespawn/
- stacker/
- stackmfact/
- staticstatus/
- status2d/
- statusallmons/
- statusbutton/
- statuscmd/
- statuscolors/
- statuspadding/
- stdin/
- steam/
- sticky/
- swallow/
- swapfocus/
- swaptags/
- switchcol/
- switchtotag/
- systray/
- tab/
- tagall/
- taggrid/
- tagintostack/
- tagothermonitor/
- tapresize/
- tatami/
- three column/
- tilegap/
- titlecolor/
- transfer/
- unfloatvisible/
- urgentborder/
- uselessgap/
- vanitygaps/
- viewontag/
- vtcolors/
- warp/
- winview/
- xkb/
- xrdb/
- xresources/
- xtile/
- zoomswap/
- screenshots/
- status monitor/
- tutorial/
resetlayout
Description
Resets the layout and mfact if there is only one client visible.
This applies cleanly to vanilla dwm, but is mostly only useful alongside the pertag patch, since otherwise all layouts and mfacts will be reset.
You can also set a binding to trigger this on demand, see the new call to resetlayout in config.def.h.
Download
Authors
- Chris Down - chris@chrisdown.name