macros which have been defined in config.h can only be used at function level, however you can nest code into config.h now for implementing a different layout (just for example), eg. #include "supertile.c"
dwm-dynamicwindowmanager============================dwmisanextremelyfast,small,anddynamicwindowmanagerforX.Requirements------------InordertobuilddwmyouneedtheXlibheaderfiles.Installation------------Editconfig.mktomatchyourlocalsetup(dwmisinstalledintothe/usr/localnamespacebydefault).Afterwardsenterthefollowingcommandtobuildandinstalldwm(ifnecessaryasroot):makecleaninstallRunningdwm-----------Addthefollowinglinetoyour.xinitrctostartdwmusingstartx:execdwmInordertoconnectdwmtoaspecificdisplay,makesurethattheDISPLAYenvironmentvariableissetcorrectly,e.g.:DISPLAY=foo.bar:1execdwm(Thiswillstartdwmondisplay:1ofthehostfoo.bar.)Inordertodisplaystatusinfointhebar,youcandosomethinglikethisinyour.xinitrc:whiletruedoecho`date``uptime | sed 's/.*,//'`sleep1done|dwmConfiguration-------------Theconfigurationofdwmisdonebycreatingacustomconfig.hand(re)compilingthesourcecode.