I guess I can disable the bell globally, but is there like an option to just disable it with slock?
Thank you for reaching out, @famadorian . This feels somewhat offtopic, but I looked into it and here’s a file in which I believe the available options are defined:
https://git.suckless.org/slock/file/config.def.h.html
I don’t see any audio stuff in there?
Patch out this line: slock.c - slock - simple X display locker utility
Suckless as a project is all about not having configuration, requiring you to patch the code instead. If you’re not comfortable with that I’d really recommend other tools, the project is quite hostile to the idea that not everyone is a C programmer.
You could alternatively configure X11 to use a visual bell, but that’s even worse IMHO
1 Like