summaryrefslogtreecommitdiffstats
path: root/include/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h30
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 {
148 } colors; 148 } colors;
149}; 149};
150 150
151struct 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
159enum edge_border_types {
160 E_NONE, /**< Don't hide edge borders */
161 E_VERTICAL, /**< hide vertical edge borders */
162 E_HORIZONTAL, /**< hide horizontal edge borders */
163 E_BOTH /**< hide vertical and horizontal edge borders */
164};
165
151/** 166/**
152 * The configuration struct. The result of loading a config file. 167 * The configuration struct. The result of loading a config file.
153 */ 168 */
@@ -169,6 +184,7 @@ struct sway_config {
169 enum swayc_layouts default_orientation; 184 enum swayc_layouts default_orientation;
170 enum swayc_layouts default_layout; 185 enum swayc_layouts default_layout;
171 char *font; 186 char *font;
187 int font_height;
172 188
173 // Flags 189 // Flags
174 bool focus_follows_mouse; 190 bool focus_follows_mouse;
@@ -187,6 +203,20 @@ struct sway_config {
187 203
188 list_t *config_chain; 204 list_t *config_chain;
189 const char *current_config; 205 const char *current_config;
206
207 enum swayc_border_types border;
208 int border_thickness;
209 enum edge_border_types hide_edge_borders;
210
211 // border colors
212 struct {
213 struct border_colors focused;
214 struct border_colors focused_inactive;
215 struct border_colors unfocused;
216 struct border_colors urgent;
217 struct border_colors placeholder;
218 uint32_t background;
219 } border_colors;
190}; 220};
191 221
192/** 222/**