my DWM rice

arg@10ksloc.org eff4478c2d simplified README 19 anni fa
.hgtags 956113b295 Added tag 0.5 for changeset 22213b9a2114167ee8ba019a012e27da0422a61a 19 anni fa
LICENSE 1076f2b6b3 initial import 19 anni fa
Makefile 7b5638f61d applied Sanders patches 19 anni fa
README eff4478c2d simplified README 19 anni fa
client.c d9a6a3b5d2 removed artefacts of single-linked list (thanx to Jukka, I must have been mad) 19 anni fa
config.arg.h b38905b004 removed 5LOC 19 anni fa
config.h b38905b004 removed 5LOC 19 anni fa
config.mk 77f8c075c4 uppercasing all define'd values (uppercase-prefixed should only be enum field qualifiers) 19 anni fa
draw.c 937cabfa0a committed a patch which fixes the hints of Jukka 19 anni fa
dwm.1 d9a6a3b5d2 removed artefacts of single-linked list (thanx to Jukka, I must have been mad) 19 anni fa
dwm.h 7c2e3bb67d cleaned config.*h to prevent some confusion 19 anni fa
dwm.html deba5069e5 updated html 19 anni fa
dwm.png 801d11c7e7 alternate dwm.png 19 anni fa
event.c 81683351f0 removed 1 missing LOC 19 anni fa
main.c a73a882806 centralized/externalized configuration to config.h 19 anni fa
tag.c a73a882806 centralized/externalized configuration to config.h 19 anni fa
util.c 0464e42231 some cleanups/fixes inspired by Jukka Salmi's feedback 19 anni fa

README

dwm - dynamic window manager
----------------------------
dwm is an extremely 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

If you want to use a customized config.h, you can use the following
command for installing dwm:

make CONFIG=.h 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 editing config.h.