diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-07-11 04:39:13 -0700 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-07-11 04:39:13 -0700 |
| commit | 625570c6885b5e45c1fb65c0b550570719ac1a86 (patch) | |
| tree | 72d47d39076ac1d05145957a46159b2db68d46d6 /include | |
| parent | 8e78b2c9d3bd36326924c0791f3efb73f5467547 (diff) | |
| parent | 02d2d82b5b62cc84f9ab7fca8b4d8ef25b0951ab (diff) | |
Merge pull request #2240 from RedSoxFan/implement-1961
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 { 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; }; |
