my DWM rice

Hiltjo Posthuma 3bd8466e93 update README: remove mentioning the old dextra repo 7 سال پیش
BUGS 917e281634 removed obsolete bugs from BUGS file 13 سال پیش
LICENSE ceac8c91ff yet another cleanup 8 سال پیش
Makefile 42cf1c7d8f Makefile: package all files with make dist 10 سال پیش
README 3bd8466e93 update README: remove mentioning the old dextra repo 7 سال پیش
TODO 1586b7a02d added keyrelease remark to TODO 14 سال پیش
config.def.h 2952b68db8 cleanup 8 سال پیش
config.mk 4ec3a673ff Shut up glibc about _BSD_SOURCE being deprecated 10 سال پیش
drw.c 3756f7f6b8 sync dmenu drw.{c,h} code: use Clr* (was Scm) 8 سال پیش
drw.h 3cb34830eb ColBorder has been moved to the enum with ColFg and ColBg. 7 سال پیش
dwm.1 5376947571 applied Ian Remmler's man page adjustment suggestions 9 سال پیش
dwm.c 76c8c16d79 All functions in alphabetical order except for this one. 7 سال پیش
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 24849acada die() on calloc failure 9 سال پیش
util.h 7af4d439bd import new drw from libsl and minor fixes. 9 سال پیش

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