commit f056d4efe8e8fc2e227664ccd52be782dbf6815f
Author: cowmonk <cowmonk@based.pt>
Date: Sun, 22 Nov 2026 21:51:38 -0700
dmw-patches: initial commit
added README and LICENSE
Diffstat:
| A | LICENSE | | | 21 | +++++++++++++++++++++ |
| A | README | | | 70 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
2 files changed, 91 insertions(+), 0 deletions(-)
diff --git a/LICENSE b/LICENSE
@@ -0,0 +1,21 @@
+MIT/X Consortium License
+
+© 2026 cowmonk <cowmonk@based.pt>
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
diff --git a/README b/README
@@ -0,0 +1,70 @@
+dmw patches
+===========
+
+dmw brings dwm's tags, layouts and bar to Wayland. This is where the
+extras live. If you and I disagree on how wide a gap should be (or
+whether there should be one at all), we can still use the same wm.
+
+Patches
+-------
+
+Each patch gets a directory at the top of the repo, named after the
+patch. Say you wrote a gaps patch. It would look like this:
+
+ gaps/
+ README
+ gaps-0.1.patch
+
+The README tells you what the patch does, which dmw commit it was
+tested on and how to use it. Any extra files it needs go alongside it.
+It's also highly recommended to insert the dmw version/tag/commit
+or date so that users are aware of which version will work.
+
+Unlike the main project, patches won't really need to follow suckless
+styling guidelines or match a particular standard. However, these
+must be at least tested and shouldn't be slopply written. Please review
+your patches before sending them.
+
+Apply a patch
+-------------
+
+With dmw and dmw-patches checked out side by side, run these from the
+dmw tree, substituting the patch you picked:
+
+ git apply --check ../dmw-patches/gaps/gaps-0.1.patch
+ git apply ../dmw-patches/gaps/gaps-0.1.patch
+
+If the patch adds settings to config.def.h, copy those settings into
+your config.h if you already have one. Then rebuild with `make`.
+
+Otherwise, you could also just use the patch command like so:
+
+ patch -p1 < ../dmw-patches/gaps/gaps-0.1.patch
+
+Contributing
+------------
+
+Got a patch you think would be good? Give it a directory and a README
+as above. Commit them here, run `git format-patch -1` and send the
+patch to `cowmonk@based.pt`.
+
+I *strongly* suggest pgp encrypting your email, in which case my public keys
+can be found on `keys.openpgp.org` or here:
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Comment: 52B0 852C 5A4C 823C FAB7 420A 2F73 9BCA BDD5 B880
+Comment: cowmonk@based.pt
+
+xjMEaSJi8xYJKwYBBAHaRw8BAQdAEVP64bLVXCxZYH5rItmtvThKyTrRZ4HFCZ42
+IqFx+crNEGNvd21vbmtAYmFzZWQucHTCiQQTFggAGgQLCQgHAhUIAhYBAhkABYJp
+ImLzAp4BApsDACEJEC9zm8q91biAFiEEUrCFLFpMgjz6t0IKL3Obyr3VuIBOEQEA
++gIa9t3yKL3FAHg5VT2xV8M2VdLf1ZqaFlCPyGhXBZsA+QGGstK6+YsUbmP+H6I5
+r4AgLawGeB9IH7WC0w4dhTsKzjgEaSJi8xIKKwYBBAGXVQEFAQEHQMsmen1ddl9a
+ddXu4ktm8BATTlEy2k4zMzo6RnyRB+d4AwEIB8J4BBgWCAAJBYJpImLzApsMACEJ
+EC9zm8q91biAFiEEUrCFLFpMgjz6t0IKL3Obyr3VuIA9AQD/S/EL51hMSBI35Lr3
+RjuNFtqnlgYpfkMxgPvp2bWRY60A/2NhDRNUjY2wA4+mESlCIf94FVvqcfclnSZU
+A7wM/YAB
+=nZZp
+-----END PGP PUBLIC KEY BLOCK-----
+
+See the [dmw repo](https://git.daat.foo/dmw/log.html) for the wm itself.