aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorSam Chudnick <sam@chudnick.com>2021-11-07 06:43:28 -0500
committerSam Chudnick <sam@chudnick.com>2021-11-07 06:43:28 -0500
commit28e9605edf57dd92f278c9ac5a2757532b2cb9e0 (patch)
tree86cb42771c52abd94848ecdd43e697b97ed0118d /README
initial commit
Diffstat (limited to 'README')
-rw-r--r--README48
1 files changed, 48 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..95d4fd0
--- /dev/null
+++ b/README
@@ -0,0 +1,48 @@
1dwm - dynamic window manager
2============================
3dwm is an extremely fast, small, and dynamic window manager for X.
4
5
6Requirements
7------------
8In order to build dwm you need the Xlib header files.
9
10
11Installation
12------------
13Edit config.mk to match your local setup (dwm is installed into
14the /usr/local namespace by default).
15
16Afterwards enter the following command to build and install dwm (if
17necessary as root):
18
19 make clean install
20
21
22Running dwm
23-----------
24Add the following line to your .xinitrc to start dwm using startx:
25
26 exec dwm
27
28In order to connect dwm to a specific display, make sure that
29the DISPLAY environment variable is set correctly, e.g.:
30
31 DISPLAY=foo.bar:1 exec dwm
32
33(This will start dwm on display :1 of the host foo.bar.)
34
35In order to display status info in the bar, you can do something
36like this in your .xinitrc:
37
38 while xsetroot -name "`date` `uptime | sed 's/.*,//'`"
39 do
40 sleep 1
41 done &
42 exec dwm
43
44
45Configuration
46-------------
47The configuration of dwm is done by creating a custom config.h
48and (re)compiling the source code.