my fork of suckless' dwm
Go to file
Anselm R. Garbe 0d095ae2ff Added tag 3.5 for changeset 63ad05e7f9e1 2007-02-14 09:35:48 +01:00
.hgtags Added tag 3.5 for changeset 63ad05e7f9e1 2007-02-14 09:35:48 +01:00
LICENSE corrections 2007-01-02 15:44:19 +01:00
Makefile fixed copyright notice in Makefile 2007-02-08 14:09:52 +01:00
README small change to README 2006-09-28 16:14:48 +02:00
client.c made for/if/else constructs more consistent, some code polishing 2007-02-14 09:09:18 +01:00
config.arg.h simplifying regexps in config samples 2007-02-14 09:31:23 +01:00
config.default.h simplifying regexps in config samples 2007-02-14 09:31:23 +01:00
config.mk next version is 3.5 2007-02-08 11:11:15 +01:00
draw.c applied apm's patch proposal, getting rid of XDrawLines 2007-02-05 11:05:16 +01:00
dwm.1 bugfix of bugfix (thx to Sander) 2007-02-12 14:20:47 +01:00
dwm.h replaced getproto with a saner function, now old-school artifacts of WM times in the early 90s completely disappeared, no punned pointer warning anymore ;) 2007-02-07 12:37:06 +01:00
dwm.png alternate dwm.png 2006-07-19 14:49:19 +02:00
event.c made for/if/else constructs more consistent, some code polishing 2007-02-14 09:09:18 +01:00
main.c made for/if/else constructs more consistent, some code polishing 2007-02-14 09:09:18 +01:00
tag.c made for/if/else constructs more consistent, some code polishing 2007-02-14 09:09:18 +01:00
util.c removed erealloc (not used) 2007-01-16 11:35:56 +01:00
view.c made for/if/else constructs more consistent, some code polishing 2007-02-14 09:09:18 +01:00

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.