X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=README;h=7abf1cfc4381af9eabdd8b1c10a9f5fe50320863;hp=22d386ea80214dad01c8a85c523dcba912099779;hb=80a9da555e81a69ab2e2e8fa9b779fa087d6863c;hpb=98c6a92eb56dbbbec32734f3d9206ae63c8f8c08 diff --git a/README b/README index 22d386e..7abf1cf 100644 --- a/README +++ b/README @@ -1,6 +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 @@ -10,14 +10,17 @@ 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): make clean install +If you are going to use the default bluegray color scheme it is highly +recommended to also install the bluegray files shipped in the dextra package. + Running dwm ----------- @@ -30,27 +33,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. - - -Displaying status info ----------------------- -In order to display status info in the bar, you can do following -in .xinitrc: +(This will start dwm on display :1 of the host foo.bar.) - $HOME/.dwm/status | dwm +In order to display status info in the bar, you can do something +like this in your .xinitrc: -Assumed $HOME/.dwm/status is an executable script like: - - #!/bin/sh - while true + while xsetroot -name "`date` `uptime | sed 's/.*,//'`" do - echo `date` `uptime | sed 's/.*://; s/,//g'` - sleep 5 - done + sleep 1 + done & + exec dwm Configuration ------------- -The configuration of dwm is done by customizing source code, -grep for CUSTOMIZE keyword. +The configuration of dwm is done by creating a custom config.h +and (re)compiling the source code.