aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <mikkeloscar@gmail.com>2015-12-15 13:45:04 +0100
committerMikkel Oscar Lyderik <mikkeloscar@gmail.com>2015-12-15 13:45:04 +0100
commitde1f625c27d090332918939ef584caf0bf938e45 (patch)
treea4d0a5c29642b131c9518795c7bdfed27ddee13d /sway/config.c
parent8c1d56812bea35b4543898ef3df82b2d35355be1 (diff)
Add rgba support for bar colors
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/sway/config.c b/sway/config.c
index a0e95677..e0c9151d 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -568,24 +568,24 @@ struct bar_config *default_bar_config(void) {
bar->binding_mode_indicator = true;
bar->tray_padding = 2;
// set default colors
- strcpy(bar->colors.background, "#000000");
- strcpy(bar->colors.statusline, "#ffffff");
- strcpy(bar->colors.separator, "#666666");
- strcpy(bar->colors.focused_workspace_border, "#4c7899");
- strcpy(bar->colors.focused_workspace_bg, "#285577");
- strcpy(bar->colors.focused_workspace_text, "#ffffff");
- strcpy(bar->colors.active_workspace_border, "333333");
- strcpy(bar->colors.active_workspace_bg, "#5f676a");
- strcpy(bar->colors.active_workspace_text, "#ffffff");
- strcpy(bar->colors.inactive_workspace_border, "#333333");
- strcpy(bar->colors.inactive_workspace_bg,"#222222");
- strcpy(bar->colors.inactive_workspace_text, "#888888");
- strcpy(bar->colors.urgent_workspace_border, "#2f343a");
- strcpy(bar->colors.urgent_workspace_bg,"#900000");
- strcpy(bar->colors.urgent_workspace_text, "#ffffff");
- strcpy(bar->colors.binding_mode_border, "#2f343a");
- strcpy(bar->colors.binding_mode_bg,"#900000");
- strcpy(bar->colors.binding_mode_text, "#ffffff");
+ strcpy(bar->colors.background, "#000000ff");
+ strcpy(bar->colors.statusline, "#ffffffff");
+ strcpy(bar->colors.separator, "#666666ff");
+ strcpy(bar->colors.focused_workspace_border, "#4c7899ff");
+ strcpy(bar->colors.focused_workspace_bg, "#285577ff");
+ strcpy(bar->colors.focused_workspace_text, "#ffffffff");
+ strcpy(bar->colors.active_workspace_border, "333333ff");
+ strcpy(bar->colors.active_workspace_bg, "#5f676aff");
+ strcpy(bar->colors.active_workspace_text, "#ffffffff");
+ strcpy(bar->colors.inactive_workspace_border, "#333333ff");
+ strcpy(bar->colors.inactive_workspace_bg,"#222222ff");
+ strcpy(bar->colors.inactive_workspace_text, "#888888ff");
+ strcpy(bar->colors.urgent_workspace_border, "#2f343aff");
+ strcpy(bar->colors.urgent_workspace_bg,"#900000ff");
+ strcpy(bar->colors.urgent_workspace_text, "#ffffffff");
+ strcpy(bar->colors.binding_mode_border, "#2f343aff");
+ strcpy(bar->colors.binding_mode_bg,"#900000ff");
+ strcpy(bar->colors.binding_mode_text, "#ffffffff");
list_add(config->bars, bar);