summaryrefslogtreecommitdiffstats
path: root/sway/commands.c
diff options
context:
space:
mode:
authorLibravatar D.B <thejan.2009@gmail.com>2016-11-02 18:48:43 +0100
committerLibravatar D.B <thejan.2009@gmail.com>2016-11-02 18:58:33 +0100
commitad4d21d60b36ba39e2090fa052a29bf7ea8a3395 (patch)
tree84cb01165960555dbc64cd8aa57137b43ff65655 /sway/commands.c
parentuse urgent_ws color in swaybar if binding_mode is undefined (diff)
downloadsway-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 'sway/commands.c')
-rw-r--r--sway/commands.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 3236ff6c..872e9fc3 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -277,6 +277,9 @@ static struct cmd_handler bar_colors_handlers[] = {
277 { "active_workspace", bar_colors_cmd_active_workspace }, 277 { "active_workspace", bar_colors_cmd_active_workspace },
278 { "background", bar_colors_cmd_background }, 278 { "background", bar_colors_cmd_background },
279 { "binding_mode", bar_colors_cmd_binding_mode }, 279 { "binding_mode", bar_colors_cmd_binding_mode },
280 { "focused_background", bar_colors_cmd_focused_background },
281 { "focused_separator", bar_colors_cmd_focused_separator },
282 { "focused_statusline", bar_colors_cmd_focused_statusline },
280 { "focused_workspace", bar_colors_cmd_focused_workspace }, 283 { "focused_workspace", bar_colors_cmd_focused_workspace },
281 { "inactive_workspace", bar_colors_cmd_inactive_workspace }, 284 { "inactive_workspace", bar_colors_cmd_inactive_workspace },
282 { "separator", bar_colors_cmd_separator }, 285 { "separator", bar_colors_cmd_separator },