mirror of
https://github.com/tiyn/slock.git
synced 2025-04-19 16:17:46 +02:00
Compare commits
No commits in common. "a977eadaa0ec633a9f982613b348b7c443c44efe" and "135ba46cd0e0dbe47c813ce8fec859ee045a082d" have entirely different histories.
a977eadaa0
...
135ba46cd0
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +0,0 @@
|
|||||||
slock
|
|
||||||
*.o
|
|
||||||
config.h
|
|
@ -2,15 +2,9 @@
|
|||||||
|
|
||||||
This is my patched version of slock. The base version is directly from suckless.org.
|
This is my patched version of slock. The base version is directly from suckless.org.
|
||||||
|
|
||||||
## Patches
|
|
||||||
|
|
||||||
The list below shows the currently applied patches to the master branch.
|
|
||||||
|
|
||||||
- slock-background-image-20220318-1c5a538.diff (shows a background image in locked state)
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
The most basic way is to clone the repository and then invoke make.
|
The most basic way is to clone the repository and then invoke make.
|
||||||
|
|
||||||
- `git clone https://github.com/tiyn/slock`
|
- `git clone https://github.com/tiyn/st-0.9.0`
|
||||||
- `make clean install`
|
- `make clean install`
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* user and group to drop privileges to */
|
/* user and group to drop privileges to */
|
||||||
static const char *user = "user";
|
static const char *user = "nobody";
|
||||||
static const char *group = "nobody";
|
static const char *group = "nobody";
|
||||||
|
|
||||||
static const char *colorname[NUMCOLS] = {
|
static const char *colorname[NUMCOLS] = {
|
||||||
@ -10,6 +10,3 @@ static const char *colorname[NUMCOLS] = {
|
|||||||
|
|
||||||
/* treat a cleared input like a wrong password (color) */
|
/* treat a cleared input like a wrong password (color) */
|
||||||
static const int failonclear = 1;
|
static const int failonclear = 1;
|
||||||
|
|
||||||
/* Background image path, should be available to the user above */
|
|
||||||
static const char* background_image = "/home/user/.local/share/lock";
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user