From 7c32775522f0c8a3f1ab295e2a42050e7cf07e68 Mon Sep 17 00:00:00 2001 From: tiyn Date: Thu, 26 Oct 2023 02:58:36 +0200 Subject: [PATCH] added capscolor patch to config --- README.md | 1 + config.def.h | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d38f80d..c15ca84 100644 --- a/README.md +++ b/README.md @@ -7,6 +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. - 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-git-20161012-control-clear.diff (doesnt turn logo red when pressing control keys) diff --git a/config.def.h b/config.def.h index 485a2eb..35f9591 100644 --- a/config.def.h +++ b/config.def.h @@ -3,9 +3,10 @@ static const char *user = "user"; static const char *group = "nobody"; static const char *colorname[NUMCOLS] = { - [INIT] = "#2d2d2d", /* after initialization */ - [INPUT] = "#005577", /* during input */ - [FAILED] = "#CC3333", /* wrong password */ + [INIT] = "#000000", /* after initialization */ + [INPUT] = "#0000ff", /* during input */ + [FAILED] = "#ff0000", /* wrong password */ + [CAPS] = "#ffff00", /* CapsLock on */ }; /* treat a cleared input like a wrong password (color) */