README (4911B)
1 dmw - dwm made in wayland 2 ========================= 3 4 dmw ports dwm to suckless Wayland. It uses neuswc for window management and 5 neuwld to draw the bar. This is a bit more "feature"-full thanks to the extra 6 neuswc/neuwld patches from MICE (a seperate project). 7 8 See: my forks of neuswc/neuwld which apply these patches that haven't been 9 upstreamed yet (most of the patches come from xplshn): 10 11 - https://git.daat.foo/neuswc/file/README.html 12 - https://git.daat.foo/neuwld/file/README.html 13 14 Disclaimer 15 ---------- 16 17 Unlike other neuswc/neuwld compositors, this is targeted against an 18 experimental in production version of neuswc which applies (and will continue 19 to apply) many patches that are not within the main neuswc/neuwld project (yet). 20 While it's not as unstable or as breaking as wlroots (in fact these APIs only 21 add more compatibility and fixes on top of neuswc), it can be frustrating because 22 dmw will always reflect these new changes (or at least if it's applicable). 23 24 These patches are tested before they are published on my repos, and in fact, 25 there are still many more to come since MICE is a relatively old project that 26 has been in development for a awhile time now (ever since aruu was created). 27 28 Before you pull the latest commits of dmw, please check the commit messages 29 and be sure to also check the neuswc/neuwld for any new changes. 30 31 Here be dragons. 32 33 Build 34 ----- 35 36 Install neuswc and neuwld with the MICE port patches, their pkg-config 37 files (swc.pc and wld.pc), and wayland-scanner. The build reads swc.xml 38 from the installed neuswc prefix. For a static-only neuswc installation 39 use make PKG_CONFIG='pkg-config --static'. 40 41 make 42 make install 43 44 The first build copies config.def.h to config.h. Edit config.h and rebuild 45 to change bindings, colors, fonts or rules. Rules match substrings of the 46 Wayland app ID and title. The default commands are `st-wl` and `neumenu_run`. 47 48 Run 49 --- 50 51 From a VT with XDG_RUNTIME_DIR set, run: 52 53 swc-launch dmw 54 55 Inside an existing Wayland session, use the nested backend: 56 57 SWC_BACKEND=nested dmw 58 59 Alt-Shift-Return starts a terminal. Alt-p opens the launcher. 60 Alt-Shift-q exits. See config.h if you want to change the default MOD key. 61 62 The bar reads one status line at a time from stdin: 63 64 while date; do sleep 1; done | swc-launch dmw 65 66 Patches 67 ------- 68 69 This project tries to not overstep it's boundaries with what a tiling wm 70 should do and implement just like the original dwm. It should be relatively 71 easy to patch dmw. 72 73 Patches live in https://git.daat.foo/dmw-patches/log.html. See Contributing 74 below if you would like to contribute to the repository of patches or this 75 project in particular. 76 77 Contributing 78 ------------ 79 80 All development is on the [stagit repo](https://git.daat.foo/dmw/log.html). 81 However while it is much preferred, you can send PRs in the github mirror. 82 It's just frowned upon (my me). All contributions should be sent via email. 83 84 Run a quick `git format-patch HEAD~1` and send to *cowmonk@based.pt* with the 85 subject head of `[PATCH] dmw`. Consider reading the manpages of `git-send-email` 86 if you are interested in moving towards email for development. 87 88 I *strongly* suggest pgp encrypting your email, in which case my public keys 89 can be found on `keys.openpgp.org` or here: 90 91 -----BEGIN PGP PUBLIC KEY BLOCK----- 92 Comment: 52B0 852C 5A4C 823C FAB7 420A 2F73 9BCA BDD5 B880 93 Comment: cowmonk@based.pt 94 95 xjMEaSJi8xYJKwYBBAHaRw8BAQdAEVP64bLVXCxZYH5rItmtvThKyTrRZ4HFCZ42 96 IqFx+crNEGNvd21vbmtAYmFzZWQucHTCiQQTFggAGgQLCQgHAhUIAhYBAhkABYJp 97 ImLzAp4BApsDACEJEC9zm8q91biAFiEEUrCFLFpMgjz6t0IKL3Obyr3VuIBOEQEA 98 +gIa9t3yKL3FAHg5VT2xV8M2VdLf1ZqaFlCPyGhXBZsA+QGGstK6+YsUbmP+H6I5 99 r4AgLawGeB9IH7WC0w4dhTsKzjgEaSJi8xIKKwYBBAGXVQEFAQEHQMsmen1ddl9a 100 ddXu4ktm8BATTlEy2k4zMzo6RnyRB+d4AwEIB8J4BBgWCAAJBYJpImLzApsMACEJ 101 EC9zm8q91biAFiEEUrCFLFpMgjz6t0IKL3Obyr3VuIA9AQD/S/EL51hMSBI35Lr3 102 RjuNFtqnlgYpfkMxgPvp2bWRY60A/2NhDRNUjY2wA4+mESlCIf94FVvqcfclnSZU 103 A7wM/YAB 104 =nZZp 105 -----END PGP PUBLIC KEY BLOCK----- 106 107 see: ./TODO if you want to see what to possibly help out with. 108 109 Credits 110 ------- 111 112 - [dwm](https://dwm.suckless.org/) - greatest tiling wm 113 - [neulibs](https://sr.ht/~shrub900/neulibs/) - good wayland implementation 114 - [tohu](https://git.sr.ht/~shrub900/tohu) - good reference impl. 115 - [wsxwm](https://git.sr.ht/~uint/wsxwm) - really good ref for neuswc compositors 116 117 - dacctal - for the amazing name, also great youtuber 118 - michaelforney - swc/wld creator <3 119 - shrub900 - started derive and wayland.fyi, also made neuswc/neuwld 120 - uint23 - great programmer, made neumenu 121 - xplshn - a vast amount of patches for neuswc were created by him 122 123 Relevant 124 -------- 125 126 - [neumenu](https://git.sr.ht/~uint/neumenu) - really good fork of a fork 127 - [st-wl](https://github.com/michaelforney/st) - good (enough) wayland st fork 128 - [dwc](https://git.sr.ht/~corg/DWC) - dwm-like wayland compositor 129 - [velox](https://github.com/michaelforney/velox) - simple compositor based on swc 130