You are not logged in.
There is a simple screen locking program called slock. In its recent versions, if you start typing in a password, the screen changes from black to light blue. I found this annoying, so I downloaded the tarball from the suckless website, modified its config, so it'll stay black, downloaded the PKGBUILD of slock-git from the AUR, edited it to compile from my modified slock tarball, rather than the git database, and I managed to slap together a pacman package which installs my modified version of slock, where the screen stays black while you are typing in a password.
After refining the PKGBUILD file somewhat, should I try posting this to the AUR, for example with the name "blackslock"?
Offline
You might contact the Trusted Users on the IRC channels or mail list. They are the authorities in the AUR.
Until you hear from them, post your changes, in the form of a patch (diff output) to the project's AUR homepage. You might also contact the maintainer.
I've not looked, but if it is an orphan, you could adopt it.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
If the original slock doesn't have an option to do this already, I think it's OK to release 'blackslock', if upstream is not interested in merging it in.
Offline
I use slock, and I also make this same change locally. I *don't* think there is a reason to burden the AUR with such a trivial change. It is a change on one line - a very short sed command will do it. There is certainly no need for an entirely separate source tarball. Perhaps the needed sed line could be added to the current PKGBUILD in a commented form, so users can opt-in to the change by simply removing a '#' from the PKGBUILD.
EDIT: I really don't mean this to come across as unappreciative of contributions: as I also like to disable the blue screen, this is a great idea for a change and a great contribution. I only disagree with having an entirely separate AUR package just for this change.
Last edited by Trilby (2014-03-01 00:01:07)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
It's completely customizable by overriding the CPPFLAGS in config.mk before compiling. Just change the -DCOLOR2 value to black. I don't think it needs it's own package.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline