diff options
author | 2018-07-23 20:27:56 -0400 | |
---|---|---|
committer | 2018-07-23 20:31:11 -0400 | |
commit | f4b882475eee7a81c206c7825616cc4656b2f60b (patch) | |
tree | 38e6ebf81b235424f105dcbcbb194e5e9eac70c0 /include/swaylock/swaylock.h | |
parent | Implement pid->workspace tracking (diff) | |
parent | Merge pull request #2342 from RyanDwyer/update-cursor (diff) | |
download | sway-f4b882475eee7a81c206c7825616cc4656b2f60b.tar.gz sway-f4b882475eee7a81c206c7825616cc4656b2f60b.tar.zst sway-f4b882475eee7a81c206c7825616cc4656b2f60b.zip |
Merge branch 'master' into pid-workspaces
Diffstat (limited to 'include/swaylock/swaylock.h')
-rw-r--r-- | include/swaylock/swaylock.h | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/include/swaylock/swaylock.h b/include/swaylock/swaylock.h index 2931fd61..950cfaaf 100644 --- a/include/swaylock/swaylock.h +++ b/include/swaylock/swaylock.h | |||
@@ -19,10 +19,33 @@ 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; |
48 | bool daemonize; | ||
26 | }; | 49 | }; |
27 | 50 | ||
28 | struct swaylock_password { | 51 | struct swaylock_password { |