my DWM rice

arg@10ksloc.org d9386a0c07 typo fix 19 سال پیش
.hgtags 5952157c3b Added tag 0.7 for changeset 3fb41412e2492f66476d92ce8f007a8b48fb1d2a 19 سال پیش
LICENSE 1076f2b6b3 initial import 19 سال پیش
Makefile d9386a0c07 typo fix 19 سال پیش
README dc5c070c44 applied Sanders doc changes, added a PHONY line and changed the output of config.h creation somewhat 19 سال پیش
client.c 525ef3c178 applied endless loop prevention on zoom() 19 سال پیش
config.arg.h 6a8e176df1 settle with grey 19 سال پیش
config.default.h e21d93b7bd switched to regexp matching for Rules 19 سال پیش
config.mk 632c7f3410 next version is 0.8 19 سال پیش
draw.c 45d16d090b status box should have a border in my eyes 19 سال پیش
dwm.1 66e16c92d3 applied Sanders man page/Makefile patch 19 سال پیش
dwm.h e21d93b7bd switched to regexp matching for Rules 19 سال پیش
dwm.html f777d21899 prepared dwm.html 19 سال پیش
dwm.png 801d11c7e7 alternate dwm.png 19 سال پیش
event.c b098c94ed4 small performance tweak ;) 19 سال پیش
main.c d54444cfd7 changed getproto, maybe that might fix the killclient issue reported on the list 19 سال پیش
tag.c 3d73084b5e fixed view-change bug reported on the list 19 سال پیش
util.c 9955ddc978 using execl now, argv changed, using cmd and const char defs directly in the KEYS struct 19 سال پیش

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


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 creating a custom config.h
and (re)compiling the source code.