diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-03-28 15:16:55 +0200 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-03-30 00:47:58 +0200 |
commit | e2774aee3c80088c7509ed31ae00baee92d6c6ba (patch) | |
tree | 6e6ed0fd86ac5bfff03062409d7eeb6c1e18775c /include | |
parent | Implement some more on borders (diff) | |
download | sway-e2774aee3c80088c7509ed31ae00baee92d6c6ba.tar.gz sway-e2774aee3c80088c7509ed31ae00baee92d6c6ba.tar.zst sway-e2774aee3c80088c7509ed31ae00baee92d6c6ba.zip |
Add default border colors
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 4bcf55e8..5a58c07c 100644 --- a/include/config.h +++ b/include/config.h | |||
@@ -148,6 +148,14 @@ struct bar_config { | |||
148 | } colors; | 148 | } colors; |
149 | }; | 149 | }; |
150 | 150 | ||
151 | struct border_colors { | ||
152 | uint32_t border; | ||
153 | uint32_t background; | ||
154 | uint32_t text; | ||
155 | uint32_t indicator; | ||
156 | uint32_t child_border; | ||
157 | }; | ||
158 | |||
151 | /** | 159 | /** |
152 | * The configuration struct. The result of loading a config file. | 160 | * The configuration struct. The result of loading a config file. |
153 | */ | 161 | */ |
@@ -187,6 +195,16 @@ struct sway_config { | |||
187 | 195 | ||
188 | list_t *config_chain; | 196 | list_t *config_chain; |
189 | const char *current_config; | 197 | const char *current_config; |
198 | |||
199 | // border colors | ||
200 | struct { | ||
201 | struct border_colors focused; | ||
202 | struct border_colors focused_inactive; | ||
203 | struct border_colors unfocused; | ||
204 | struct border_colors urgent; | ||
205 | struct border_colors placeholder; | ||
206 | uint32_t background; | ||
207 | } border_colors; | ||
190 | }; | 208 | }; |
191 | 209 | ||
192 | /** | 210 | /** |