X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=README;h=f7721cfc2e470fd03aa8eefb516164e0b80797d9;hb=57416beefec4db451a75a1d25434b69cf50badad;hp=6260440ae5c5247253af9ac56cfb24c066605f9f;hpb=01a8d44de4a415ce0f2436989b618eb58c4a6a71;p=dwm.git diff --git a/README b/README index 6260440..f7721cf 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 X11 window manager. 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): @@ -34,7 +33,19 @@ the DISPLAY environment variable is set correctly, e.g.: This will start dwm on display :1 of the host foo.bar. +Displaying status info +---------------------- +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 kb.c. +The configuration of dwm is done by customizing its source code +(grep for the CUSTOMIZE keyword).