X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=README;h=95d4fd05edfebb41917c02a6769395f44a3476aa;hb=2b6b86ac617f777902e1cf441b7a46ed52782f83;hp=07bbd086d97076b1a27f09e71fca6c935c268968;hpb=863656d2bcb60b58fd89194cc00e956821e2c204;p=dwm.git diff --git a/README b/README index 07bbd08..95d4fd0 100644 --- a/README +++ b/README @@ -1,6 +1,6 @@ dwm - dynamic window manager ----------------------------- -dwm is an extremely fast, small, and dynamic X11 window manager. +============================ +dwm is an extremely fast, small, and dynamic window manager for X. Requirements @@ -13,10 +13,9 @@ Installation Edit config.mk to match your local setup (dwm is installed into the /usr/local namespace by default). -Afterwards enter the following commands to build and install dwm (if +Afterwards enter the following command to build and install dwm (if necessary as root): - cp config.default.h config.h make clean install @@ -36,13 +35,14 @@ the DISPLAY environment variable is set correctly, e.g.: In order to display status info in the bar, you can do something like this in your .xinitrc: - while true + while xsetroot -name "`date` `uptime | sed 's/.*,//'`" do - echo `date` `uptime | sed 's/.*://; s/,//g'` - sleep 1 - done | dwm + sleep 1 + done & + exec dwm Configuration ------------- -The configuration of dwm is done by editing config.h. +The configuration of dwm is done by creating a custom config.h +and (re)compiling the source code.