diff options
author | 2016-11-02 18:48:43 +0100 | |
---|---|---|
committer | 2016-11-02 18:58:33 +0100 | |
commit | ad4d21d60b36ba39e2090fa052a29bf7ea8a3395 (patch) | |
tree | 84cb01165960555dbc64cd8aa57137b43ff65655 /include/sway/config.h | |
parent | use urgent_ws color in swaybar if binding_mode is undefined (diff) | |
download | sway-ad4d21d60b36ba39e2090fa052a29bf7ea8a3395.tar.gz sway-ad4d21d60b36ba39e2090fa052a29bf7ea8a3395.tar.zst sway-ad4d21d60b36ba39e2090fa052a29bf7ea8a3395.zip |
add bar colours for focused_(workspace|statusline|separator)
If these aren't defined in config, color settings without 'focused_'
prefix are used as a fallback.
Diffstat (limited to 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index c41bb8b3..9b3cc60c 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -148,6 +148,9 @@ struct bar_config { | |||
148 | char background[10]; | 148 | char background[10]; |
149 | char statusline[10]; | 149 | char statusline[10]; |
150 | char separator[10]; | 150 | char separator[10]; |
151 | char focused_background[10]; | ||
152 | char focused_statusline[10]; | ||
153 | char focused_separator[10]; | ||
151 | char focused_workspace_border[10]; | 154 | char focused_workspace_border[10]; |
152 | char focused_workspace_bg[10]; | 155 | char focused_workspace_bg[10]; |
153 | char focused_workspace_text[10]; | 156 | char focused_workspace_text[10]; |
@@ -164,6 +167,10 @@ struct bar_config { | |||
164 | char binding_mode_bg[10]; | 167 | char binding_mode_bg[10]; |
165 | char binding_mode_text[10]; | 168 | char binding_mode_text[10]; |
166 | 169 | ||
170 | bool has_focused_background; | ||
171 | bool has_focused_statusline; | ||
172 | bool has_focused_separator; | ||
173 | |||
167 | bool has_binding_mode_border; | 174 | bool has_binding_mode_border; |
168 | bool has_binding_mode_bg; | 175 | bool has_binding_mode_bg; |
169 | bool has_binding_mode_text; | 176 | bool has_binding_mode_text; |