diff options
author | Marvin Borner | 2023-08-29 15:44:16 +0200 |
---|---|---|
committer | Marvin Borner | 2023-08-29 15:46:00 +0200 |
commit | 8f6e86ee72a20fc9bbac62d71e0921b152eaa0bb (patch) | |
tree | 2feb0ee3276bc24ab847a57938fd9fc281b260d7 /.repos/slock/config.h | |
parent | e6e5c70f6cc741e0edee2f0c1de07909d1c91edc (diff) |
Sync
Not much tbh. I'm fairly happy with my setup
Diffstat (limited to '.repos/slock/config.h')
-rw-r--r-- | .repos/slock/config.h | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/.repos/slock/config.h b/.repos/slock/config.h index 66a2d9e..093582e 100644 --- a/.repos/slock/config.h +++ b/.repos/slock/config.h @@ -3,11 +3,11 @@ static const char *user = "melvin"; static const char *group = "melvin"; static const char *colorname[NUMCOLS] = { - [BACKGROUND] = "black", /* after initialization */ - [INIT] = "#2d2d2d", /* after initialization */ - [INPUT] = "#2d2d2d", /* during input */ - [FAILED] = "#cc3333", /* wrong password */ - [PAM] = "#9400D3", /* waiting for PAM */ + [BACKGROUND] = "black", /* after initialization */ + [INIT] = "black", /* after initialization */ + [INPUT] = "black", /* during input */ + [FAILED] = "red", /* wrong password */ + [PAM] = "green", /* waiting for PAM */ }; /* treat a cleared input like a wrong password (color) */ @@ -17,25 +17,16 @@ static const int failonclear = 1; static const char* pam_service = "login"; /* insert grid pattern with scale 1:1, the size can be changed with logosize */ -static const int logosize = 75; -static const int logow = 10; /* grid width and height for right center alignment*/ -static const int logoh = 5; +static const int logosize = 50; +static const int logow = 2; /* grid width and height for right center alignment*/ +static const int logoh = 2; -static XRectangle rectangles[11] = { +static XRectangle rectangles[4] = { /* x y w h */ - { 0, 0, 1, 5 }, + { 0, 0, 1, 1 }, + { 0, 1, 1, 1 }, + { 1, 0, 1, 1 }, { 1, 1, 1, 1 }, - { 2, 2, 1, 1 }, - { 3, 1, 1, 1 }, - { 4, 0, 1, 5 }, - - { 6, 0, 1, 5 }, - { 7, 0, 2, 1 }, - { 7, 2, 2, 1 }, - { 7, 4, 2, 1 }, - { 9, 1, 1, 1 }, - { 9, 3, 1, 1 }, - }; /* time in seconds before the monitor shuts down */ |