all repos — dwm @ 6b939eb71658c4fe0fcba137209d3ce2914c713e

fork of suckless dynamic window manager

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
20## installation
21
22edit `config.mk` to match your local setup (dwm is installed into the
23`/usr/local` namespace by default).
24
25afterwards enter the following command to build and install dwm
26(if necessary as root):
27
28```terminal
29# make clean install
30```
31
32## running dwm
33
34add the following line to your `.xinitrc` to start dwm using startx:
35
36```
37exec dwm
38```
39
40in order to connect dwm to a specific display, make sure that the `DISPLAY`
41environment variable is set correctly, e.g.:
42
43```
44DISPLAY=foo.bar:1 exec dwm
45```
46
47(this will start dwm on display :1 of the host foo.bar.)
48
49in order to display status info in the bar, you can do something like this
50in your `.xinitrc`:
51
52```
53while xsetroot -name "`date` `uptime | sed 's/.*,//'`"
54do
55    sleep 1
56done &
57exec dwm
58```
59
60## configuration
61
62the configuration of dwm is done by creating a custom config.h and (re)compiling
63the source code.