my DWM rice

arg@10ksloc.org 2b66f7afb1 changed the status info README hint (more simple now, no extra script necessary) %!s(int64=19) %!d(string=hai) anos
.hgtags fe3756c8e1 Added tag 0.4 for changeset eb3165734f00fe7f7da8aeebaed00e60a57caac9 %!s(int64=19) %!d(string=hai) anos
LICENSE 1076f2b6b3 initial import %!s(int64=19) %!d(string=hai) anos
Makefile eccd02def2 makefile now sets permissions for executables and man pages %!s(int64=19) %!d(string=hai) anos
README 2b66f7afb1 changed the status info README hint (more simple now, no extra script necessary) %!s(int64=19) %!d(string=hai) anos
client.c cd8d8e1208 sanitization of several clunky stuff, removed heretag (rarely of use), simplified pop(), changed shortcuts to always contain MODKEY %!s(int64=19) %!d(string=hai) anos
config.mk 67b3083dfd s/0.5/0.6/ - my steps are wider than the reality %!s(int64=19) %!d(string=hai) anos
draw.c 4688ad181d made status bar drawing more robust, implemented togglemax and togglemode, works quite well %!s(int64=19) %!d(string=hai) anos
dwm.1 67b3083dfd s/0.5/0.6/ - my steps are wider than the reality %!s(int64=19) %!d(string=hai) anos
dwm.h cd8d8e1208 sanitization of several clunky stuff, removed heretag (rarely of use), simplified pop(), changed shortcuts to always contain MODKEY %!s(int64=19) %!d(string=hai) anos
dwm.html 01b151f5f8 prepared 0.4 %!s(int64=19) %!d(string=hai) anos
dwm.png 801d11c7e7 alternate dwm.png %!s(int64=19) %!d(string=hai) anos
event.c 0c7bcc24cb applied sanders maxfix patch %!s(int64=19) %!d(string=hai) anos
main.c 06dc514bc7 added yet another CUTOMIZE tag %!s(int64=19) %!d(string=hai) anos
tag.c cd8d8e1208 sanitization of several clunky stuff, removed heretag (rarely of use), simplified pop(), changed shortcuts to always contain MODKEY %!s(int64=19) %!d(string=hai) anos
util.c dc5d967ee6 cleaned up code %!s(int64=19) %!d(string=hai) anos

README

dwm - dynamic window manager
----------------------------
dwm is an extremly fast, small, and dynamic X11 window manager.


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.


Displaying status info
----------------------
In order to display status info in the bar, you can do following
in .xinitrc:

while true
do
echo `date` `uptime | sed 's/.*://; s/,//g'`
sleep 5
done | dwm

Configuration
-------------
The configuration of dwm is done by customizing source code,
grep for CUSTOMIZE keyword.