my DWM rice

Anselm R. Garbe 238dd5d2b1 renamed view.c into screen.c 18 سال پیش
.hgtags 0d095ae2ff Added tag 3.5 for changeset 63ad05e7f9e1 18 سال پیش
LICENSE ac24f132db corrections 19 سال پیش
Makefile 238dd5d2b1 renamed view.c into screen.c 18 سال پیش
README 02cea3b47e small change to README 19 سال پیش
client.c 238dd5d2b1 renamed view.c into screen.c 18 سال پیش
config.arg.h 5cc27f1b3c introduced tile.c, some refactoring of functions 18 سال پیش
config.default.h 5cc27f1b3c introduced tile.c, some refactoring of functions 18 سال پیش
config.mk 3ce8c9f338 added ban() which takes care than a banned window is not banned again... (this reduces the overall ConfigureNotify's to clients) 18 سال پیش
draw.c 19fd903d40 applied apm's patch proposal, getting rid of XDrawLines 19 سال پیش
dwm.1 d0d986dd0e bugfix of bugfix (thx to Sander) 18 سال پیش
dwm.h 238dd5d2b1 renamed view.c into screen.c 18 سال پیش
dwm.png 801d11c7e7 alternate dwm.png 19 سال پیش
event.c 39ed54a468 simplified configurerequest to a bare minimum, removed wrong ban() calls 18 سال پیش
main.c 5d9146ff37 some more refactoring 18 سال پیش
screen.c 238dd5d2b1 renamed view.c into screen.c 18 سال پیش
util.c 9715ba82aa removed erealloc (not used) 19 سال پیش

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