diff options
| author | Drew DeVault <sir@cmpwn.com> | 2016-03-30 07:41:13 -0400 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2016-03-30 07:41:13 -0400 |
| commit | 4bf10d77713f5ea9fdc05c084a26a5eb1d5bc3c5 (patch) | |
| tree | ac04166d4e75b4cf7617705e31214f73f2398655 /include/config.h | |
| parent | 3ffff5e4f246fd444b8059820825df42e627fef1 (diff) | |
| parent | 0af55539a8afe38fa1a1beb6af15b0891030985a (diff) | |
Merge pull request #551 from mikkeloscar/window-borders
Implement Window borders
Diffstat (limited to 'include/config.h')
| -rw-r--r-- | include/config.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 4bcf55e8..fb84423c 100644 --- a/include/config.h +++ b/include/config.h @@ -148,6 +148,21 @@ struct bar_config { } colors; }; +struct border_colors { + uint32_t border; + uint32_t background; + uint32_t text; + uint32_t indicator; + uint32_t child_border; +}; + +enum edge_border_types { + E_NONE, /**< Don't hide edge borders */ + E_VERTICAL, /**< hide vertical edge borders */ + E_HORIZONTAL, /**< hide horizontal edge borders */ + E_BOTH /**< hide vertical and horizontal edge borders */ +}; + /** * The configuration struct. The result of loading a config file. */ @@ -169,6 +184,7 @@ struct sway_config { enum swayc_layouts default_orientation; enum swayc_layouts default_layout; char *font; + int font_height; // Flags bool focus_follows_mouse; @@ -187,6 +203,20 @@ struct sway_config { list_t *config_chain; const char *current_config; + + enum swayc_border_types border; + int border_thickness; + enum edge_border_types hide_edge_borders; + + // border colors + struct { + struct border_colors focused; + struct border_colors focused_inactive; + struct border_colors unfocused; + struct border_colors urgent; + struct border_colors placeholder; + uint32_t background; + } border_colors; }; /** |
