my fork of suckless' dwm
Go to file
Anselm R. Garbe 7d071ce2bd Added tag 3.9 for changeset 55478328b242 2007-04-02 11:11:47 +02:00
.hgtags Added tag 3.9 for changeset 55478328b242 2007-04-02 11:11:47 +02:00
LICENSE corrections 2007-01-02 15:44:19 +01:00
Makefile fixed quoting and a comment 2007-02-21 11:04:33 +01:00
README small change to README 2006-09-28 16:14:48 +02:00
client.c add an additional check in resize() to prevent a crash of dwm 2007-03-29 15:17:57 +02:00
config.arg.h prepared 3.7, ready to rambo 2007-02-24 15:40:50 +01:00
config.default.h prepared 3.7, ready to rambo 2007-02-24 15:40:50 +01:00
config.mk next version will be 3.9, but don't expect it this week 2007-03-29 15:18:30 +02:00
draw.c we don't need to set the font all the time 2007-03-02 15:14:40 +01:00
dwm.1 Escape -s in dwm.1 2007-02-26 10:47:11 +01:00
dwm.h some changes to updatesizehints, I don't change the aspect ratio algorithm now - I can't think, it is a mess 2007-03-01 12:33:45 +01:00
dwm.png alternate dwm.png 2006-07-19 14:49:19 +02:00
event.c renamed untiled into floating, keeping tiled instead of tiling (afaik tiled sounds more correct) - English speakers convinced me 2007-02-22 22:10:16 +01:00
layout.c renamed untiled into floating, keeping tiled instead of tiling (afaik tiled sounds more correct) - English speakers convinced me 2007-02-22 22:10:16 +01:00
main.c we don't need to set the font all the time 2007-03-02 15:14:40 +01:00
tag.c renamed untiled into floating, keeping tiled instead of tiling (afaik tiled sounds more correct) - English speakers convinced me 2007-02-22 22:10:16 +01:00
util.c replaced Arg union with const char *arg, seems cleaner to me, even if we need atoi() in some places 2007-02-22 11:42:08 +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.