my DWM rice

Anselm R Garbe f2544a3318 renamed draw into drw 12 年之前
.hgtags 4e7c469862 Added tag 6.0 for changeset ec4baab78314 14 年之前
BUGS 917e281634 removed obsolete bugs from BUGS file 13 年之前
LICENSE 873bcb97a9 applied Eckehard Berns barwin leak fix and his suggestion to deal with restack() -- the latter aspect needs further investigation. 13 年之前
Makefile f2544a3318 renamed draw into drw 12 年之前
README c99fe7dd7d changed sleep 20 into sleep 1 in example script as suggested by Snader_LB 14 年之前
TODO 1586b7a02d added keyrelease remark to TODO 14 年之前
config.def.h 61fe833a06 reverting to plain X11 fonts in order to implement draw.c default 13 年之前
config.mk 61fe833a06 reverting to plain X11 fonts in order to implement draw.c default 13 年之前
drw.c f2544a3318 renamed draw into drw 12 年之前
drw.h f2544a3318 renamed draw into drw 12 年之前
dwm.1 04c26574b8 add nmaster binds to manpage 14 年之前
dwm.c f2544a3318 renamed draw into drw 12 年之前
dwm.png 801d11c7e7 alternate dwm.png 19 年之前
transient.c 0de4197cc5 applied Peter Hartlichs nice interim Xinerama and map fix patches, for debugging purposes I also added his transient test driver 14 年之前
util.c f21d46ea7d continued with draw.c abstraction, also started util.{h,c} implementation, that will be used by draw.c as well 13 年之前
util.h f21d46ea7d continued with draw.c abstraction, also started util.{h,c} implementation, that will be used by draw.c as well 13 年之前

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 xsetroot -name "`date` `uptime | sed 's/.*,//'`"
do
sleep 1
done &
exec dwm


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