aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/commands.h4
-rw-r--r--include/sway/config.h39
2 files changed, 24 insertions, 19 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h
index a46f41a3..db5e94d9 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -160,12 +160,14 @@ sway_cmd bar_cmd_workspace_buttons;
sway_cmd bar_colors_cmd_active_workspace;
sway_cmd bar_colors_cmd_background;
-sway_cmd bar_colors_cmd_background;
+sway_cmd bar_colors_cmd_focused_background;
sway_cmd bar_colors_cmd_binding_mode;
sway_cmd bar_colors_cmd_focused_workspace;
sway_cmd bar_colors_cmd_inactive_workspace;
sway_cmd bar_colors_cmd_separator;
+sway_cmd bar_colors_cmd_focused_separator;
sway_cmd bar_colors_cmd_statusline;
+sway_cmd bar_colors_cmd_focused_statusline;
sway_cmd bar_colors_cmd_urgent_workspace;
sway_cmd input_cmd_accel_profile;
diff --git a/include/sway/config.h b/include/sway/config.h
index a14b7e48..8d077ee7 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -145,24 +145,27 @@ struct bar_config {
bool verbose;
pid_t pid;
struct {
- char background[10];
- char statusline[10];
- char separator[10];
- char focused_workspace_border[10];
- char focused_workspace_bg[10];
- char focused_workspace_text[10];
- char active_workspace_border[10];
- char active_workspace_bg[10];
- char active_workspace_text[10];
- char inactive_workspace_border[10];
- char inactive_workspace_bg[10];
- char inactive_workspace_text[10];
- char urgent_workspace_border[10];
- char urgent_workspace_bg[10];
- char urgent_workspace_text[10];
- char binding_mode_border[10];
- char binding_mode_bg[10];
- char binding_mode_text[10];
+ char *background;
+ char *statusline;
+ char *separator;
+ char *focused_background;
+ char *focused_statusline;
+ char *focused_separator;
+ char *focused_workspace_border;
+ char *focused_workspace_bg;
+ char *focused_workspace_text;
+ char *active_workspace_border;
+ char *active_workspace_bg;
+ char *active_workspace_text;
+ char *inactive_workspace_border;
+ char *inactive_workspace_bg;
+ char *inactive_workspace_text;
+ char *urgent_workspace_border;
+ char *urgent_workspace_bg;
+ char *urgent_workspace_text;
+ char *binding_mode_border;
+ char *binding_mode_bg;
+ char *binding_mode_text;
} colors;
};