mirror of
https://github.com/tiyn/slock.git
synced 2025-04-19 16:17:46 +02:00
Compare commits
4 Commits
135ba46cd0
...
614ca8a08a
Author | SHA1 | Date | |
---|---|---|---|
|
614ca8a08a | ||
|
45193c468d | ||
|
a604d3ccc3 | ||
|
9ea097e951 |
7
README.md
Normal file
7
README.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# slock
|
||||||
|
This is my patched version of st. The base version is directly from suckless.org.
|
||||||
|
This belongs to my larbs installation script.
|
||||||
|
|
||||||
|
## Patches
|
||||||
|
The list below shows the currently applied patches to the master branch.
|
||||||
|
- slock-dpms-1.4.diff (turns off the monitor after a given time)
|
@ -1,6 +1,6 @@
|
|||||||
/* user and group to drop privileges to */
|
/* user and group to drop privileges to */
|
||||||
static const char *user = "nobody";
|
static const char *user = "nobody";
|
||||||
static const char *group = "nogroup";
|
static const char *group = "nobody";
|
||||||
|
|
||||||
static const char *colorname[NUMCOLS] = {
|
static const char *colorname[NUMCOLS] = {
|
||||||
[INIT] = "black", /* after initialization */
|
[INIT] = "black", /* after initialization */
|
||||||
@ -10,3 +10,6 @@ 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;
|
||||||
|
|
||||||
|
/* time in seconds before the monitor shuts down */
|
||||||
|
static const int monitortime = 3;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user