README.md (1529B)
1 dwm - dynamic window manager 2 ============================ 3 [](https://builds.sr.ht/~mil/sxmo-dwm?) 4 5 dwm is an extremely fast, small, and dynamic window manager for X. 6 7 8 Description 9 ----------- 10 My configuration of sxmo fork of suckless dwm. 11 12 Applied patches borderrule and singularborders. 13 14 Adapted bstack tiling mode to singularborders. 15 16 Deleted bstackhoriz as "tile" tiling mode replaces it nicely. 17 18 Custom keybinds and color edits to config.def.h. 19 20 All of this working beautifully on pinephone 1.2 21 22 23 Requirements 24 ------------ 25 In order to build dwm you need the Xlib header files. 26 27 28 Installation 29 ------------ 30 Edit config.mk to match your local setup (dwm is installed into 31 the /usr/local namespace by default). 32 33 Afterwards enter the following command to build and install dwm (if 34 necessary as root): 35 36 make clean install 37 38 39 Running dwm 40 ----------- 41 Add the following line to your .xinitrc to start dwm using startx: 42 43 exec dwm 44 45 In order to connect dwm to a specific display, make sure that 46 the DISPLAY environment variable is set correctly, e.g.: 47 48 DISPLAY=foo.bar:1 exec dwm 49 50 (This will start dwm on display :1 of the host foo.bar.) 51 52 In order to display status info in the bar, you can do something 53 like this in your .xinitrc: 54 55 while xsetroot -name "`date` `uptime | sed 's/.*,//'`" 56 do 57 sleep 1 58 done & 59 exec dwm 60 61 62 Configuration 63 ------------- 64 The configuration of dwm is done by creating a custom config.h 65 and (re)compiling the source code.