2006-07-13 14:32:22 +07:00
|
|
|
dwm
|
2006-07-10 21:38:18 +07:00
|
|
|
------
|
|
|
|
|
2006-07-13 14:32:22 +07:00
|
|
|
dwm is an extremly fast, small, and dynamic X11 window manager.
|
2006-07-11 23:59:09 +07:00
|
|
|
|
|
|
|
|
2006-07-10 21:38:18 +07:00
|
|
|
Requirements
|
|
|
|
------------
|
2006-07-13 14:32:22 +07:00
|
|
|
In order to build dwm you need the Xlib header files.
|
2006-07-10 21:38:18 +07:00
|
|
|
|
|
|
|
|
|
|
|
Installation
|
|
|
|
------------
|
2006-07-13 14:32:22 +07:00
|
|
|
Edit config.mk to match your local setup. dwm is installed into
|
2006-07-10 21:38:18 +07:00
|
|
|
the /usr/local namespace by default.
|
|
|
|
|
2006-07-13 14:32:22 +07:00
|
|
|
Afterwards enter the following command to build and install dwm (if
|
2006-07-10 21:38:18 +07:00
|
|
|
necessary as root):
|
|
|
|
|
|
|
|
make clean install
|
|
|
|
|
|
|
|
|
2006-07-13 14:32:22 +07:00
|
|
|
Running dwm
|
2006-07-10 21:38:18 +07:00
|
|
|
--------------
|
2006-07-13 14:32:22 +07:00
|
|
|
Add the following line to your .xinitrc to start dwm using startx:
|
2006-07-10 21:38:18 +07:00
|
|
|
|
2006-07-13 14:32:22 +07:00
|
|
|
exec dwm
|
2006-07-10 21:38:18 +07:00
|
|
|
|
2006-07-13 14:32:22 +07:00
|
|
|
In order to connect dwm to a specific display, make sure that
|
2006-07-10 21:38:18 +07:00
|
|
|
the DISPLAY environment variable is set correctly, e.g.:
|
|
|
|
|
2006-07-13 14:32:22 +07:00
|
|
|
DISPLAY=foo.bar:1 exec dwm
|
2006-07-10 21:38:18 +07:00
|
|
|
|
2006-07-13 14:32:22 +07:00
|
|
|
This will start dwm on display :1 of the host foo.bar.
|
2006-07-10 21:38:18 +07:00
|
|
|
|
|
|
|
|
|
|
|
Configuration
|
|
|
|
-------------
|
2006-07-13 14:32:22 +07:00
|
|
|
The configuration of dwm is done by customizing the wm.h source file. To
|
2006-07-13 06:30:55 +07:00
|
|
|
customize the key bindings edit kb.c.
|