diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-07-10 21:29:15 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-07-10 21:29:15 -0400 |
commit | 936a920a8e95c001c86b9186d36fa652f874287d (patch) | |
tree | c56b4475f38f6ad5b783434dc609f0cfabeeec8a /include | |
parent | Merge pull request #2233 from emersion/remove-clipboard (diff) | |
download | sway-936a920a8e95c001c86b9186d36fa652f874287d.tar.gz sway-936a920a8e95c001c86b9186d36fa652f874287d.tar.zst sway-936a920a8e95c001c86b9186d36fa652f874287d.zip |
Implement swaylock customization flags
Diffstat (limited to 'include')
-rw-r--r-- | include/swaylock/swaylock.h | 24 |
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 { | |||
19 | AUTH_STATE_INVALID, | 19 | AUTH_STATE_INVALID, |
20 | }; | 20 | }; |
21 | 21 | ||
22 | struct swaylock_colorset { | ||
23 | uint32_t input; | ||
24 | uint32_t cleared; | ||
25 | uint32_t verifying; | ||
26 | uint32_t wrong; | ||
27 | }; | ||
28 | |||
29 | struct swaylock_colors { | ||
30 | uint32_t background; | ||
31 | uint32_t bs_highlight; | ||
32 | uint32_t key_highlight; | ||
33 | uint32_t separator; | ||
34 | struct swaylock_colorset inside; | ||
35 | struct swaylock_colorset line; | ||
36 | struct swaylock_colorset ring; | ||
37 | struct swaylock_colorset text; | ||
38 | }; | ||
39 | |||
22 | struct swaylock_args { | 40 | struct swaylock_args { |
23 | uint32_t color; | 41 | struct swaylock_colors colors; |
24 | enum background_mode mode; | 42 | enum background_mode mode; |
43 | char *font; | ||
44 | uint32_t radius; | ||
45 | uint32_t thickness; | ||
46 | bool ignore_empty; | ||
25 | bool show_indicator; | 47 | bool show_indicator; |
26 | bool daemonize; | 48 | bool daemonize; |
27 | }; | 49 | }; |