aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-03-28 15:16:55 +0200
committerMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-03-30 00:47:58 +0200
commite2774aee3c80088c7509ed31ae00baee92d6c6ba (patch)
tree6e6ed0fd86ac5bfff03062409d7eeb6c1e18775c /sway/config.c
parentb903f7f655479b9ed095cf5b5950d963d525dd8c (diff)
Add default border colors
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c
index a877261c..4a1cb2bb 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -181,6 +181,39 @@ static void config_defaults(struct sway_config *config) {
config->config_chain = create_list();
config->current_config = NULL;
+
+ // border colors
+ config->border_colors.focused.border = 0x4C7899FF;
+ config->border_colors.focused.background = 0x285577FF;
+ config->border_colors.focused.text = 0xFFFFFFFF;
+ config->border_colors.focused.indicator = 0x2E9EF4FF;
+ config->border_colors.focused.child_border = 0x285577FF;
+
+ config->border_colors.focused_inactive.border = 0x333333FF;
+ config->border_colors.focused_inactive.background = 0x5F676AFF;
+ config->border_colors.focused_inactive.text = 0xFFFFFFFF;
+ config->border_colors.focused_inactive.indicator = 0x484E50FF;
+ config->border_colors.focused_inactive.child_border = 0x5F676AFF;
+
+ config->border_colors.unfocused.border = 0x333333FF;
+ config->border_colors.unfocused.background = 0x222222FF;
+ config->border_colors.unfocused.text = 0x888888FF;
+ config->border_colors.unfocused.indicator = 0x292D2EFF;
+ config->border_colors.unfocused.child_border = 0x222222FF;
+
+ config->border_colors.urgent.border = 0x2F343AFF;
+ config->border_colors.urgent.background = 0x900000FF;
+ config->border_colors.urgent.text = 0xFFFFFFFF;
+ config->border_colors.urgent.indicator = 0x900000FF;
+ config->border_colors.urgent.child_border = 0x900000FF;
+
+ config->border_colors.placeholder.border = 0x000000FF;
+ config->border_colors.placeholder.background = 0x0C0C0CFF;
+ config->border_colors.placeholder.text = 0xFFFFFFFF;
+ config->border_colors.placeholder.indicator = 0x000000FF;
+ config->border_colors.placeholder.child_border = 0x0C0C0CFF;
+
+ config->border_colors.background = 0xFFFFFFFF;
}
static int compare_modifiers(const void *left, const void *right) {