2006-07-13 09:03:56 +01:00
|
|
|
dwm - dynamic window manager
|
2006-09-26 13:32:02 +01:00
|
|
|
============================
|
2006-08-21 06:31:15 +01:00
|
|
|
dwm is an extremely fast, small, and dynamic window manager for X.
|
2006-07-11 17:59:09 +01:00
|
|
|
|
|
|
|
|
2006-07-10 15:38:18 +01:00
|
|
|
Requirements
|
|
|
|
------------
|
2006-07-13 08:32:22 +01:00
|
|
|
In order to build dwm you need the Xlib header files.
|
2006-07-10 15:38:18 +01:00
|
|
|
|
|
|
|
|
|
|
|
Installation
|
|
|
|
------------
|
2006-08-01 11:32:33 +01:00
|
|
|
Edit config.mk to match your local setup (dwm is installed into
|
|
|
|
the /usr/local namespace by default).
|
2006-07-10 15:38:18 +01:00
|
|
|
|
2006-08-02 16:49:21 +01:00
|
|
|
Afterwards enter the following command to build and install dwm (if
|
2006-07-10 15:38:18 +01:00
|
|
|
necessary as root):
|
|
|
|
|
|
|
|
make clean install
|
|
|
|
|
|
|
|
|
2006-07-13 08:32:22 +01:00
|
|
|
Running dwm
|
2006-07-13 09:03:56 +01:00
|
|
|
-----------
|
2006-07-13 08:32:22 +01:00
|
|
|
Add the following line to your .xinitrc to start dwm using startx:
|
2006-07-10 15:38:18 +01:00
|
|
|
|
2006-07-13 08:32:22 +01:00
|
|
|
exec dwm
|
2006-07-10 15:38:18 +01:00
|
|
|
|
2006-07-13 08:32:22 +01:00
|
|
|
In order to connect dwm to a specific display, make sure that
|
2006-07-10 15:38:18 +01:00
|
|
|
the DISPLAY environment variable is set correctly, e.g.:
|
|
|
|
|
2006-07-13 08:32:22 +01:00
|
|
|
DISPLAY=foo.bar:1 exec dwm
|
2006-07-10 15:38:18 +01:00
|
|
|
|
2006-08-01 15:29:25 +01:00
|
|
|
(This will start dwm on display :1 of the host foo.bar.)
|
2006-07-10 15:38:18 +01:00
|
|
|
|
2006-08-01 11:32:33 +01:00
|
|
|
In order to display status info in the bar, you can do something
|
|
|
|
like this in your .xinitrc:
|
2006-07-21 08:59:11 +01:00
|
|
|
|
|
|
|
while true
|
|
|
|
do
|
2006-09-28 15:14:48 +01:00
|
|
|
echo `date` `uptime | sed 's/.*,//'`
|
2006-08-01 11:32:33 +01:00
|
|
|
sleep 1
|
2006-07-21 10:48:28 +01:00
|
|
|
done | dwm
|
2006-07-21 08:59:11 +01:00
|
|
|
|
2006-08-01 11:32:33 +01:00
|
|
|
|
2006-07-10 15:38:18 +01:00
|
|
|
Configuration
|
|
|
|
-------------
|
2006-08-03 09:58:29 +01:00
|
|
|
The configuration of dwm is done by creating a custom config.h
|
|
|
|
and (re)compiling the source code.
|