aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-07-10 21:29:15 -0400
committerFurkan Sahin <furkan-dev@proton.me>2018-07-10 21:29:15 -0400
commite9dacb151b375687e691d4896d51a3a917bd0f5f (patch)
treec56b4475f38f6ad5b783434dc609f0cfabeeec8a /include
parent153c61e7ffe2b2bc15a910c768430becab8df032 (diff)
Implement swaylock customization flags
Diffstat (limited to 'include')
-rw-r--r--include/swaylock/swaylock.h24
1 files changed, 23 insertions, 1 deletions
diff --git a/include/swaylock/swaylock.h b/include/swaylock/swaylock.h
index cf80a6ba..950cfaaf 100644
--- a/include/swaylock/swaylock.h
+++ b/include/swaylock/swaylock.h
@@ -19,9 +19,31 @@ enum auth_state {
AUTH_STATE_INVALID,
};
+struct swaylock_colorset {
+ uint32_t input;
+ uint32_t cleared;
+ uint32_t verifying;
+ uint32_t wrong;
+};
+
+struct swaylock_colors {
+ uint32_t background;
+ uint32_t bs_highlight;
+ uint32_t key_highlight;
+ uint32_t separator;
+ struct swaylock_colorset inside;
+ struct swaylock_colorset line;
+ struct swaylock_colorset ring;
+ struct swaylock_colorset text;
+};
+
struct swaylock_args {
- uint32_t color;
+ struct swaylock_colors colors;
enum background_mode mode;
+ char *font;
+ uint32_t radius;
+ uint32_t thickness;
+ bool ignore_empty;
bool show_indicator;
bool daemonize;
};