commit 3b09196966d4d1fc6de03073ac1d3544ec6212c8 parent 07532e34cfc0d0c4f732ba331e703e1e7cedbc66 Author: David Phillips <dbphillipsnz@gmail.com> Date: Thu, 7 Apr 2016 17:11:04 +1200 slock: add patches index file, misc typo correction Diffstat:
A | tools.suckless.org/slock/patches/index.md | | | 29 | +++++++++++++++++++++++++++++ |
M | tools.suckless.org/slock/patches/quickcancel.md | | | 2 | +- |
2 files changed, 30 insertions(+), 1 deletion(-)
diff --git a/tools.suckless.org/slock/patches/index.md b/tools.suckless.org/slock/patches/index.md @@ -0,0 +1,29 @@ +Patches +======= + +diff generation +--------------- +For git users: + + cd slock-directory + git diff > slock-X.Y-yourpatchname.diff + +For tarballs: + + cd modified-slock-directory/.. + diff -up original-slock-directory modified-slock-directory > slock-X.Y-yourpatchname.diff + +where `X.Y` is a slock tag name or version number. + + +patch application +----------------- +For git users: + + cd slock-directory + git apply path/to/patch.diff + +For tarballs: + + cd slock-directory + patch -p1 < path/to/patch.diff diff --git a/tools.suckless.org/slock/patches/quickcancel.md b/tools.suckless.org/slock/patches/quickcancel.md @@ -7,7 +7,7 @@ Description Allow slock to be cancelled by simple mouse movement within the first 3 seconds after starting. -This is usefull if you forgot to disable `xautolock` during +This is useful if you forgot to disable `xautolock` during an activity that requires no input (e.g. reading text, watching video). Notes