commit d450298e51d532bba4c96580aba4c29342d12c8b
Author: John Doe <pavelvlas671_AT_gmail.com>
Date: Sun Jan 28 00:48:57 2024 +0100
Patch it disables the bell that sounds after an incorrect password attempt
diff --git a/tools.suckless.org/slock/patches/noxbell/index.md b/tools.suckless.org/slock/patches/noxbell/index.md
new file mode 100644
index 00000000..9933b0c0
--- /dev/null
+++ b/tools.suckless.org/slock/patches/noxbell/index.md
_AT_@ -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_AT_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
new file mode 100644
index 00000000..705c6e76
--- /dev/null
+++ b/tools.suckless.org/slock/patches/noxbell/slock-noxbell.0.1.diff
_AT_@ -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
+_AT_@ -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));
Received on Sun Jan 28 2024 - 00:49:21 CET