README.md (view raw)
1*a note by la-ninpre*
2
3> this is my fork of dwm. it is pretty much close with the original, but
4> it will evolve as i learn and as i need more functionality.
5>
6> patches applied:
7>
8> * [dwm-autostart][1]
9
10[1]:https://dwm.suckless.org/patches/autostart/
11
12# dwm -- dynamic window manager
13
14dwm is an extremely fast, small, and dynamic window manager for x.
15
16## requirements
17
18in order to build dwm you need the xlib header files.
19
20used fonts:
21
22* lato
23* jetbrains mono
24
25## installation
26
27edit `config.mk` to match your local setup (dwm is installed into the
28`/usr/local` namespace by default).
29
30afterwards enter the following command to build and install dwm
31(if necessary as root):
32
33```terminal
34# make clean install
35```
36
37## running dwm
38
39add the following line to your `.xinitrc` to start dwm using startx:
40
41```
42exec dwm
43```
44
45in order to connect dwm to a specific display, make sure that the `DISPLAY`
46environment variable is set correctly, e.g.:
47
48```
49DISPLAY=foo.bar:1 exec dwm
50```
51
52(this will start dwm on display :1 of the host foo.bar.)
53
54in order to display status info in the bar, you can do something like this
55in your `.xinitrc`:
56
57```
58while xsetroot -name "`date` `uptime | sed 's/.*,//'`"
59do
60 sleep 1
61done &
62exec dwm
63```
64
65## configuration
66
67the configuration of dwm is done by creating a custom config.h and (re)compiling
68the source code.