summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-14 13:08:50 -0500
committerGitHub <noreply@github.com>2019-01-14 13:08:50 -0500
commit54a8a33381d9afd6eca2eee4ae70a9edab0f6d70 (patch)
tree419807074f0e209ec23981531fa29b9a0b25466f /include
parentaab44dfaa5bee02e21211aca7b750ffd1ba5e949 (diff)
parent1e7696fceba795e8f67cc11fdc05d44d8d6fcf69 (diff)
Merge pull request #5 from Robinhuett/caps_indicator
Add caps lock state to indicator
Diffstat (limited to 'include')
-rw-r--r--include/swaylock.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/swaylock.h b/include/swaylock.h
index f089a54..e1b7042 100644
--- a/include/swaylock.h
+++ b/include/swaylock.h
@@ -22,6 +22,7 @@ enum auth_state {
struct swaylock_colorset {
uint32_t input;
uint32_t cleared;
+ uint32_t caps_lock;
uint32_t verifying;
uint32_t wrong;
};
@@ -30,6 +31,8 @@ struct swaylock_colors {
uint32_t background;
uint32_t bs_highlight;
uint32_t key_highlight;
+ uint32_t caps_lock_bs_highlight;
+ uint32_t caps_lock_key_highlight;
uint32_t separator;
struct swaylock_colorset inside;
struct swaylock_colorset line;
@@ -45,6 +48,8 @@ struct swaylock_args {
uint32_t thickness;
bool ignore_empty;
bool show_indicator;
+ bool show_caps_lock_text;
+ bool show_caps_lock_indicator;
bool daemonize;
};