README (1931B)
1 My patches and config for dwm 2 ============================= 3 Changes: 4 -------- 5 - Building now has an extra step to apply the config for a given platform 6 - Added vanitygaps 7 - Keeping the config.h files 8 - My configs are themed with Catppuccin, and assume that you're using 9 alacritty 10 - Void linux assumes pulseaudio. 11 - Installs to the local user's XDG directory $HOME/.local, rather than 12 systemwide. There's nothing worse than having a mix of manually installed 13 and system-package-manager installed packages. 14 15 How to build: 16 ------------- 17 First, prepare your platform. Currently supported are Void linux (void) and 18 OpenBSD (OBSD). (The void config should work for most distros with pulseaudio). 19 Example: 20 $ ./prepvoid.sh 21 or 22 $ ./prepOBSD.sh 23 24 Then you just make as usual: 25 $ make && make install 26 27 28 Original README below: 29 30 dwm - dynamic window manager 31 ============================ 32 dwm is an extremely fast, small, and dynamic window manager for X. 33 34 35 Requirements 36 ------------ 37 In order to build dwm you need the Xlib header files. 38 39 40 Installation 41 ------------ 42 Edit config.mk to match your local setup (dwm is installed into 43 the /usr/local namespace by default). 44 45 Afterwards enter the following command to build and install dwm (if 46 necessary as root): 47 48 make clean install 49 50 51 Running dwm 52 ----------- 53 Add the following line to your .xinitrc to start dwm using startx: 54 55 exec dwm 56 57 In order to connect dwm to a specific display, make sure that 58 the DISPLAY environment variable is set correctly, e.g.: 59 60 DISPLAY=foo.bar:1 exec dwm 61 62 (This will start dwm on display :1 of the host foo.bar.) 63 64 In order to display status info in the bar, you can do something 65 like this in your .xinitrc: 66 67 while xsetroot -name "`date` `uptime | sed 's/.*,//'`" 68 do 69 sleep 1 70 done & 71 exec dwm 72 73 74 Configuration 75 ------------- 76 The configuration of dwm is done by creating a custom config.h 77 and (re)compiling the source code.