summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2021-10-03 20:29:22 -0400
committerMatt Hunter <m@lfurio.us>2026-01-17 17:10:01 -0500
commitd4d464a866115430418f066e1d66cb701018304e (patch)
tree4235400319554643f4450ca9f67e01c5581e1545 /config.def.h
parent4dae913a3f4233cdf805f1db647edcf97d44573a (diff)
downloadslock-d4d464a866115430418f066e1d66cb701018304e.tar.gz
slock-d4d464a866115430418f066e1d66cb701018304e.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) */