summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2021-10-03 20:29:22 -0400
committerMalfurious <m@lfurio.us>2023-06-01 21:23:59 -0400
commit505fe537796a38ea4a7023df0d938c0a2a43cc64 (patch)
tree57e96d230682ed4602cc8c74a4b18cedbe6d8598 /config.def.h
parent7b78bbad780cc7a90de1242763835af0c1f9efe1 (diff)
downloadslock-505fe537796a38ea4a7023df0d938c0a2a43cc64.tar.gz
slock-505fe537796a38ea4a7023df0d938c0a2a43cc64.zip
patch: capscolor
Introduces an additional color to indicate the state of Caps Lock. Written against HEAD at a31b919, but should apply to 1.2.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 27cc2d0..83e4887 100644
--- a/config.def.h
+++ b/config.def.h
@@ -6,6 +6,7 @@ static const char *colorname[NUMCOLS] = {
[INIT] = "black", /* after initialization */
[INPUT] = "#005577", /* during input */
[FAILED] = "#CC3333", /* wrong password */
+ [CAPS] = "red", /* CapsLock on */
};
/* treat a cleared input like a wrong password (color) */