mirror of
https://github.com/tiyn/slock.git
synced 2025-11-03 12:41:18 +01:00
Compare commits
4 Commits
background
...
0033cc887d
| Author | SHA1 | Date | |
|---|---|---|---|
| 0033cc887d | |||
| f7bf0a3ea9 | |||
| d59cbb3d75 | |||
| 1d78f190a7 |
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
slock
|
||||||
|
*.o
|
||||||
|
config.h
|
||||||
16
README.md
Normal file
16
README.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# slock
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
The most basic way is to clone the repository and then invoke make.
|
||||||
|
|
||||||
|
- `git clone https://github.com/tiyn/slock`
|
||||||
|
- `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 = "nobody";
|
static const char *user = "user";
|
||||||
static const char *group = "nobody";
|
static const char *group = "nobody";
|
||||||
|
|
||||||
static const char *colorname[NUMCOLS] = {
|
static const char *colorname[NUMCOLS] = {
|
||||||
@@ -12,4 +12,4 @@ static const char *colorname[NUMCOLS] = {
|
|||||||
static const int failonclear = 1;
|
static const int failonclear = 1;
|
||||||
|
|
||||||
/* Background image path, should be available to the user above */
|
/* Background image path, should be available to the user above */
|
||||||
static const char* background_image = "";
|
static const char* background_image = "/home/user/.local/share/lock";
|
||||||
|
|||||||
Reference in New Issue
Block a user