2006-07-13 04:03:56 -04:00
|
|
|
dwm - dynamic window manager
|
2006-09-26 08:32:02 -04:00
|
|
|
============================
|
2006-08-21 01:31:15 -04:00
|
|
|
dwm is an extremely fast, small, and dynamic window manager for X.
|
2006-07-11 12:59:09 -04:00
|
|
|
|
|
|
|
|
2006-07-10 10:38:18 -04:00
|
|
|
Requirements
|
|
|
|
------------
|
2006-07-13 03:32:22 -04:00
|
|
|
In order to build dwm you need the Xlib header files.
|
2006-07-10 10:38:18 -04:00
|
|
|
|
|
|
|
|
|
|
|
Installation
|
|
|
|
------------
|
2006-08-01 06:32:33 -04:00
|
|
|
Edit config.mk to match your local setup (dwm is installed into
|
|
|
|
the /usr/local namespace by default).
|
2006-07-10 10:38:18 -04:00
|
|
|
|
2006-08-02 11:49:21 -04:00
|
|
|
Afterwards enter the following command to build and install dwm (if
|
2006-07-10 10:38:18 -04:00
|
|
|
necessary as root):
|
|
|
|
|
|
|
|
make clean install
|
|
|
|
|
2007-10-01 08:40:53 -04:00
|
|
|
If you are going to use the default bluegray color scheme it is highly
|
|
|
|
recommended to also install the bluegray files shipped in the dextra package.
|
|
|
|
|
2006-07-10 10:38:18 -04:00
|
|
|
|
2006-07-13 03:32:22 -04:00
|
|
|
Running dwm
|
2006-07-13 04:03:56 -04:00
|
|
|
-----------
|
2006-07-13 03:32:22 -04:00
|
|
|
Add the following line to your .xinitrc to start dwm using startx:
|
2006-07-10 10:38:18 -04:00
|
|
|
|
2006-07-13 03:32:22 -04:00
|
|
|
exec dwm
|
2006-07-10 10:38:18 -04:00
|
|
|
|
2006-07-13 03:32:22 -04:00
|
|
|
In order to connect dwm to a specific display, make sure that
|
2006-07-10 10:38:18 -04:00
|
|
|
the DISPLAY environment variable is set correctly, e.g.:
|
|
|
|
|
2006-07-13 03:32:22 -04:00
|
|
|
DISPLAY=foo.bar:1 exec dwm
|
2006-07-10 10:38:18 -04:00
|
|
|
|
2006-08-01 10:29:25 -04:00
|
|
|
(This will start dwm on display :1 of the host foo.bar.)
|
2006-07-10 10:38:18 -04:00
|
|
|
|
2006-08-01 06:32:33 -04:00
|
|
|
In order to display status info in the bar, you can do something
|
|
|
|
like this in your .xinitrc:
|
2006-07-21 03:59:11 -04:00
|
|
|
|
2011-06-14 00:51:21 -04:00
|
|
|
while xsetroot -name "`date` `uptime | sed 's/.*,//'`"
|
2006-07-21 03:59:11 -04:00
|
|
|
do
|
2011-07-20 14:56:10 -04:00
|
|
|
sleep 1
|
2008-12-13 15:20:26 -05:00
|
|
|
done &
|
2011-04-27 11:55:18 -04:00
|
|
|
exec dwm
|
2006-07-21 03:59:11 -04:00
|
|
|
|
2006-08-01 06:32:33 -04:00
|
|
|
|
2006-07-10 10:38:18 -04:00
|
|
|
Configuration
|
|
|
|
-------------
|
2006-08-03 04:58:29 -04:00
|
|
|
The configuration of dwm is done by creating a custom config.h
|
|
|
|
and (re)compiling the source code.
|