dmw-patches

collection of optional patches for dmw
git clone https://git.daat.foo/dmw-patches.git
Log | Files | Refs | README | LICENSE

README (2506B)


      1 dmw patches
      2 ===========
      3 
      4 dmw brings dwm to Wayland. This is where the extras live. If you and
      5 I disagree on how wide a gap should be (or whether there should be
      6 one at all), we can still use the same wm (hopefully).
      7 
      8 Patches
      9 -------
     10 
     11 Each patch gets a directory at the top of the repo, named after the
     12 patch. Say you wrote a gaps patch. It would look like this:
     13 
     14     gaps/
     15         README
     16         gaps-0.1.patch
     17 
     18 The README tells you what the patch does, which dmw commit it was
     19 tested on and how to use it. Any extra files it needs go alongside it.
     20 It's also highly recommended to insert the dmw version/tag/commit
     21 or date so that users are aware of which version will work.
     22 
     23 Unlike the main project, patches won't really need to follow suckless
     24 styling guidelines or match a particular standard. However, these
     25 must be at least tested and shouldn't be slopply written. Please review
     26 your patches before sending them.
     27 
     28 Apply a patch
     29 -------------
     30 
     31 With dmw and dmw-patches checked out side by side, run these from the
     32 dmw tree, substituting the patch you picked:
     33 
     34     git apply --check ../dmw-patches/gaps/gaps-0.1.patch
     35     git apply ../dmw-patches/gaps/gaps-0.1.patch
     36 
     37 If the patch adds settings to config.def.h, copy those settings into
     38 your config.h if you already have one. Then rebuild with `make`.
     39 
     40 Otherwise, you could also just use the patch command like so:
     41 
     42     patch -p1 < ../dmw-patches/gaps/gaps-0.1.patch
     43 
     44 Contributing
     45 ------------
     46 
     47 Got a patch you think would be good?  Give it a directory and a README
     48 as above. Commit them here, run `git format-patch -1` and send the
     49 patch to `cowmonk@based.pt`.
     50 
     51 I *strongly* suggest pgp encrypting your email, in which case my public keys
     52 can be found on `keys.openpgp.org` or here:
     53 
     54 -----BEGIN PGP PUBLIC KEY BLOCK-----
     55 Comment: 52B0 852C 5A4C 823C FAB7  420A 2F73 9BCA BDD5 B880
     56 Comment: cowmonk@based.pt
     57 
     58 xjMEaSJi8xYJKwYBBAHaRw8BAQdAEVP64bLVXCxZYH5rItmtvThKyTrRZ4HFCZ42
     59 IqFx+crNEGNvd21vbmtAYmFzZWQucHTCiQQTFggAGgQLCQgHAhUIAhYBAhkABYJp
     60 ImLzAp4BApsDACEJEC9zm8q91biAFiEEUrCFLFpMgjz6t0IKL3Obyr3VuIBOEQEA
     61 +gIa9t3yKL3FAHg5VT2xV8M2VdLf1ZqaFlCPyGhXBZsA+QGGstK6+YsUbmP+H6I5
     62 r4AgLawGeB9IH7WC0w4dhTsKzjgEaSJi8xIKKwYBBAGXVQEFAQEHQMsmen1ddl9a
     63 ddXu4ktm8BATTlEy2k4zMzo6RnyRB+d4AwEIB8J4BBgWCAAJBYJpImLzApsMACEJ
     64 EC9zm8q91biAFiEEUrCFLFpMgjz6t0IKL3Obyr3VuIA9AQD/S/EL51hMSBI35Lr3
     65 RjuNFtqnlgYpfkMxgPvp2bWRY60A/2NhDRNUjY2wA4+mESlCIf94FVvqcfclnSZU
     66 A7wM/YAB
     67 =nZZp
     68 -----END PGP PUBLIC KEY BLOCK-----
     69 
     70 See the [dmw repo](https://git.daat.foo/dmw/log.html) for the wm itself.