1
0
mirror of https://github.com/tiyn/slock.git synced 2025-04-19 16:17:46 +02:00

Compare commits

...

4 Commits

Author SHA1 Message Date
TiynGER
614ca8a08a new option 2020-03-31 11:13:48 +02:00
TiynGER
45193c468d new option 2020-03-31 11:12:36 +02:00
TiynGER
a604d3ccc3 changing group 2020-03-29 21:20:41 +02:00
TiynGER
9ea097e951 adding README 2020-03-29 19:32:47 +02:00
2 changed files with 11 additions and 1 deletions

7
README.md Normal file
View 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)

View File

@ -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;