all repos — dwm @ test-tokipona

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