my DWM rice

arg@mmvi e87bed6df2 updated README 19 rokov pred
.hgtags d504005e91 Added tag 1.6 for changeset ad3fa2d185426c51fd5deceae809770363f8d33c 19 rokov pred
LICENSE 442334641e added Sander to LICENSE (since he has contributed/revised big portions) 19 rokov pred
Makefile aa13727067 separated several functions into view.c 19 rokov pred
README e87bed6df2 updated README 19 rokov pred
client.c b4d53bf194 added configure(), but this doesn't really fix those frking broken SDL apps 19 rokov pred
config.arg.h 4ee05b3294 small change 19 rokov pred
config.default.h 97ced11e53 changed order of colordefs in config.h's, changed config.arg.h to fit to new dmenu 19 rokov pred
config.mk 886b2088f1 improved intro comment in dwm.h, updated config.mk 19 rokov pred
draw.c e81eb46a78 added slight error check to getcolor 19 rokov pred
dwm.1 6de149eb22 man page fix 19 rokov pred
dwm.h b4d53bf194 added configure(), but this doesn't really fix those frking broken SDL apps 19 rokov pred
dwm.png 801d11c7e7 alternate dwm.png 19 rokov pred
event.c 4d6c4d36ce removed useless debug info 19 rokov pred
main.c 6b25d06d7d applied Jukkas patch 19 rokov pred
tag.c 6b25d06d7d applied Jukkas patch 19 rokov pred
util.c 4230932563 reviewed util.c 19 rokov pred
view.c 7d7cde0fd6 applied sanders jukka patch 19 rokov pred

README

dwm - dynamic window manager
============================
dwm is an extremely fast, small, and dynamic window manager for X.


Requirements
------------
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).

Afterwards enter the following command to build and install dwm (if
necessary as root):

make clean install


Running dwm
-----------
Add the following line to your .xinitrc to start dwm using startx:

exec dwm

In order to connect dwm to a specific display, make sure that
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.)

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 creating a custom config.h
and (re)compiling the source code.