1
0
mirror of git://git.suckless.org/dwm synced 2024-12-24 16:02:28 +00:00
dwm/README

56 lines
1.2 KiB
Plaintext
Raw Normal View History

2006-07-13 08:03:56 +00:00
dwm - dynamic window manager
----------------------------
2006-08-01 10:32:33 +00:00
dwm is an extremely fast, small, and dynamic X11 window manager.
2006-07-11 16:59:09 +00:00
2006-07-10 14:38:18 +00:00
Requirements
------------
2006-07-13 07:32:22 +00:00
In order to build dwm you need the Xlib header files.
2006-07-10 14:38:18 +00:00
Installation
------------
2006-08-01 10:32:33 +00:00
Edit config.mk to match your local setup (dwm is installed into
the /usr/local namespace by default).
2006-07-10 14:38:18 +00:00
2006-07-13 07:32:22 +00:00
Afterwards enter the following command to build and install dwm (if
2006-07-10 14:38:18 +00:00
necessary as root):
make clean install
If you want to use a customized config.h, you can use the following
command for installing dwm:
make CONFIG=<your-config>.h clean install
2006-07-10 14:38:18 +00:00
2006-07-13 07:32:22 +00:00
Running dwm
2006-07-13 08:03:56 +00:00
-----------
2006-07-13 07:32:22 +00:00
Add the following line to your .xinitrc to start dwm using startx:
2006-07-10 14:38:18 +00:00
2006-07-13 07:32:22 +00:00
exec dwm
2006-07-10 14:38:18 +00:00
2006-07-13 07:32:22 +00:00
In order to connect dwm to a specific display, make sure that
2006-07-10 14:38:18 +00:00
the DISPLAY environment variable is set correctly, e.g.:
2006-07-13 07:32:22 +00:00
DISPLAY=foo.bar:1 exec dwm
2006-07-10 14:38:18 +00:00
2006-07-13 07:32:22 +00:00
This will start dwm on display :1 of the host foo.bar.
2006-07-10 14:38:18 +00:00
Displaying status info
----------------------
2006-08-01 10:32:33 +00:00
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/.*://; s/,//g'`
2006-08-01 10:32:33 +00:00
sleep 1
done | dwm
2006-08-01 10:32:33 +00:00
2006-07-10 14:38:18 +00:00
Configuration
-------------
The configuration of dwm is done by editing config.h.