my DWM rice

Anselm R Garbe 4dea5324c0 Added tag 5.2 for changeset e4bcaca8e6ef 17 years ago
.hgtags 4dea5324c0 Added tag 5.2 for changeset e4bcaca8e6ef 17 years ago
LICENSE 2b4157eccd applied Peter Hartlich's initmodmap patch 17 years ago
Makefile f806a17692 reverted dist target in Makefile 17 years ago
README 60adbab726 added hint for downloading dextra 18 years ago
config.def.h ec11a3470c introduced NOBORDER macro to hide the nasty - 2 * c->bw in various calculations, moved tagset to config.def.h 17 years ago
config.mk b279cef670 made readin a config.h variable 17 years ago
dwm.1 7b4c512e62 applied James Turner's dwm.1 patch, thanks James! 17 years ago
dwm.c 53cac17692 using malloc() instead of calloc() and sticking to static initializer and struct assignment, not using *c = (Client){}; right now to avoid some ugly gcc warning, possibly a gcc bug since we are using -std=c99 17 years ago
dwm.png 801d11c7e7 alternate dwm.png 19 years ago

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

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
-----------
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/.*,//'`
sleep 1
done | dwm


Configuration
-------------
The configuration of dwm is done by creating a custom config.h
and (re)compiling the source code.