mirror of
https://github.com/tiyn/slock.git
synced 2025-04-19 16:17:46 +02:00
Compare commits
No commits in common. "7c32775522f0c8a3f1ab295e2a42050e7cf07e68" and "da2d4604a39f12f1576aa27f7c65d46e60bfde85" have entirely different histories.
7c32775522
...
da2d4604a3
@ -7,9 +7,7 @@ This is my patched version of slock. The base version is directly from suckless.
|
|||||||
The list below shows the currently applied patches to the master branch.
|
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)
|
- slock-background-image-20220318-1c5a538.diff (shows a background image in locked state)
|
||||||
- slock-capscolor-20220921-35633d4.diff (displays a separate color if caps is set)
|
|
||||||
- slock-dwmlogo-20210324.diff (adds dwm logo on lock screen)
|
- slock-dwmlogo-20210324.diff (adds dwm logo on lock screen)
|
||||||
- slock-git-20161012-control-clear.diff (doesnt turn logo red when pressing control keys)
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
11
config.def.h
11
config.def.h
@ -3,10 +3,10 @@ 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] = {
|
||||||
[INIT] = "#000000", /* after initialization */
|
[INIT] = "#2d2d2d", /* after initialization */
|
||||||
[INPUT] = "#0000ff", /* during input */
|
[BACKGROUND] = "black", /* after initialization */
|
||||||
[FAILED] = "#ff0000", /* wrong password */
|
[INPUT] = "#005577", /* during input */
|
||||||
[CAPS] = "#ffff00", /* CapsLock on */
|
[FAILED] = "#CC3333", /* wrong password */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* treat a cleared input like a wrong password (color) */
|
/* treat a cleared input like a wrong password (color) */
|
||||||
@ -32,6 +32,3 @@ static XRectangle rectangles[9] = {
|
|||||||
{ 11, 4, 1, 2 },
|
{ 11, 4, 1, 2 },
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* allow control key to trigger fail on clear */
|
|
||||||
static const int controlkeyclear = 1;
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user