~kris/suckless

slock

ref: 4cbf627d5efd593387ed8561dcd30580ca34d423 slock/README.md -rw-r--r-- 3.5 KiB
4cbf627d — Kris Yotam 6 months ago master
Replace upstream README with personal build README
bb763ba9 — bakkeby 10 months ago
Adding visual unlock patch ref. #14
Support ^U for clearing password

^U is a fairly common key combo for clearing fields, this patch adds
support for it.

https://git.suckless.org/slock/commit/bf0a5577acbd9ec7c6a577601b97144b205840d7.html
https://git.suckless.org/slock/commit/3791a996e230aec59d61faea46634ae4f031e359.html
simplify post-lock cmd and die if it fails

this patch does two things:

0. simplify the code by using posix_spawn()
1. unify the behavior of what happens if the post-lock cmd fails.

currently, if `fork()` fails, slock will die without locking the screen.
HOWEVER if `execvp()` fails it prints a message to stderr (which the
user cannot see since the screen has been locked already) and only exits
the child while the parent locks the screen.

to reproduce:

	# slock some_bin_that_doesnt_exist

this behavior is inconsistent, if the idea is that post-lock cmd is
_not_ important then we shouldn't `die()` on `fork()` failure either.
and if we assume that the post-lock cmd _is_ important, then we should
die on exec failure as well.

this patch assumes the latter and calls `die()` if `posix_spawn()`
fails.

ref.
https://git.suckless.org/slock/commit/a70d5d2429abf8dcb70a8817990975dc9a621d27.html
316de885 — bakkeby 2 years ago
slock.1: use standard wording for options

Remove the OPTIONS section and add an EXIT STATUS section.

ref.
https://git.suckless.org/slock/commit/a34d8fb4327bbb1afd92e7527c53fcaad547a495.html
780a7887 — bakkeby 3 years ago
Bump to 4f04554.

Makefile: explicit_bzero.c was copied twice (GNU make gives a warning)

bump version to 1.5

Ref.
https://git.suckless.org/slock/commit/265704d73647e0d4823126bbb7ddde1d415a618d.html
https://git.suckless.org/slock/commit/4f045545a25cc02c64bfc08d27ed2ccecb962292.html
e71a42ee — bakkeby 4 years ago
Adding background image patch
e5e04272 — bakkeby 5 years ago
Adding dwmlogo patch ref. #5
e5a9d853 — bakkeby 5 years ago
Adding auto-timeout patch
35fd53f6 — bakkeby 5 years ago
Adding secret password patch
7dc45011 — bakkeby 5 years ago
Adding failure-command patch
d2be9eb6 — bakkeby 5 years ago
Adding color message patch ref. #3
0bba4617 — bakkeby 6 years ago
Adding alpha patch
74c66223 — bakkeby 6 years ago
Adding blur pixelated screen patch
c07648d3 — bakkeby 6 years ago
Adding keypress_feedback patch
55e66968 — bakkeby 6 years ago
Specifying latest version
4c905a9c — bakkeby 6 years ago
Adding xresources patch
2cf80900 — bakkeby 6 years ago
Added capscolor, control clear, dpms, mediakeys, message, pam auth, quickcancel patches