sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit d450298e51d532bba4c96580aba4c29342d12c8b
parent d34e1b324ce7cefbbc7cc6f43205d984fc987f8e
Author: John Doe <pavelvlas671@gmail.com>
Date:   Sun, 28 Jan 2024 00:48:57 +0100

Patch  it disables the bell that sounds after an incorrect password attempt

Diffstat:
Atools.suckless.org/slock/patches/noxbell/index.md | 13+++++++++++++
Atools.suckless.org/slock/patches/noxbell/slock-noxbell.0.1.diff | 11+++++++++++
2 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/tools.suckless.org/slock/patches/noxbell/index.md b/tools.suckless.org/slock/patches/noxbell/index.md @@ -0,0 +1,12 @@ +Description +----------- +This patch disables the bell that sounds when you make an incorrect password attempt. + +Download +-------- +* [slock-noxbell.0.1.diff](slock-noxbell.0.1.diff) + +Authors / Contributors +------- +* John Doe - <https://github.com/bankai671> +* Eric Spero - <eric@ericspero.com> +\ No newline at end of file diff --git a/tools.suckless.org/slock/patches/noxbell/slock-noxbell.0.1.diff b/tools.suckless.org/slock/patches/noxbell/slock-noxbell.0.1.diff @@ -0,0 +1,11 @@ +diff -up a/slock.c b/slock.c +--- a/slock.c 2022-10-04 19:45:59.000000000 +0200 ++++ b/slock.c 2024-01-27 22:36:28.398501798 +0100 +@@ -165,7 +165,6 @@ readpw(Display *dpy, struct xrandr *rr, + else + running = !!strcmp(inputhash, hash); + if (running) { +- XBell(dpy, 100); + failure = 1; + } + explicit_bzero(&passwd, sizeof(passwd));