my DWM rice

Anselm R. Garbe aa13727067 separated several functions into view.c 19 سال پیش
.hgtags e3bb595d77 Added tag 0.9 for changeset fae61afa861755636c4a1070694209ace8efbb6c 19 سال پیش
LICENSE 442334641e added Sander to LICENSE (since he has contributed/revised big portions) 19 سال پیش
Makefile aa13727067 separated several functions into view.c 19 سال پیش
README b43989207a small changes to dwm.1, rearranged order within main event loop 19 سال پیش
client.c aa13727067 separated several functions into view.c 19 سال پیش
config.arg.h 595028614b removed DEFTAG 19 سال پیش
config.default.h 595028614b removed DEFTAG 19 سال پیش
config.mk 14f7380308 applied another config.mk patch made by sander 19 سال پیش
draw.c 28a52197c4 fixed string cutting 19 سال پیش
dwm.1 b43989207a small changes to dwm.1, rearranged order within main event loop 19 سال پیش
dwm.h aa13727067 separated several functions into view.c 19 سال پیش
dwm.html f77a87137c adding forgetten whitespace 19 سال پیش
dwm.png 801d11c7e7 alternate dwm.png 19 سال پیش
event.c 2272df9d31 applied Sanders focus_* patches, removed the unnecessary clean-prefix from the new function names 19 سال پیش
favicon.ico 4ee661d908 added dwm favicon 19 سال پیش
main.c 595028614b removed DEFTAG 19 سال پیش
tag.c aa13727067 separated several functions into view.c 19 سال پیش
util.c 6a3ae5e26a removed badmalloc (thx for the pointer to Uriel) 19 سال پیش
view.c aa13727067 separated several functions into view.c 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/.*://; 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.