X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=README;h=7da2cb73d88ce4e97526067fe8a18c8c430de7b1;hb=b39d0c521ae07117dfb1f2602ece053d25a1ea55;hp=e6b06b0e40b26c13d98bae589f6628e4f760b9ec;hpb=44f2e8b952264311887c3b51dc6a987af226062a;p=dwm.git diff --git a/README b/README index e6b06b0..7da2cb7 100644 --- a/README +++ b/README @@ -1,7 +1,6 @@ dwm - dynamic window manager ----------------------------- - -dwm is an extremly fast, small, and dynamic X11 window manager. +============================ +dwm is an extremely fast, small, and dynamic window manager for X. Requirements @@ -11,8 +10,8 @@ In order to build dwm you need the Xlib header files. Installation ------------ -Edit config.mk to match your local setup. dwm is installed into -the /usr/local namespace by default. +Edit config.mk to match your local setup (dwm is installed into +the /usr/local namespace by default). Afterwards enter the following command to build and install dwm (if necessary as root): @@ -31,10 +30,19 @@ the DISPLAY environment variable is set correctly, e.g.: DISPLAY=foo.bar:1 exec dwm -This will start dwm on display :1 of the host foo.bar. +(This will start dwm on display :1 of the host foo.bar.) + +In order to display status info in the bar, you can do something +like this in your .xinitrc: + + while true + do + echo `date` `uptime | sed 's/.*://; s/,//g'` + sleep 1 + done | dwm Configuration ------------- -The configuration of dwm is done by customizing the wm.h source file. To -customize the key bindings edit dev.c. +The configuration of dwm is done by creating a custom config.h +and (re)compiling the source code.