diff options
Diffstat (limited to 'swaybar/config.c')
-rw-r--r-- | swaybar/config.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/swaybar/config.c b/swaybar/config.c index 388daa55..7c03198a 100644 --- a/swaybar/config.c +++ b/swaybar/config.c | |||
@@ -45,19 +45,15 @@ struct swaybar_config *init_config() { | |||
45 | struct swaybar_config *config = calloc(1, sizeof(struct swaybar_config)); | 45 | struct swaybar_config *config = calloc(1, sizeof(struct swaybar_config)); |
46 | config->status_command = NULL; | 46 | config->status_command = NULL; |
47 | config->position = DESKTOP_SHELL_PANEL_POSITION_BOTTOM; | 47 | config->position = DESKTOP_SHELL_PANEL_POSITION_BOTTOM; |
48 | config->font = NULL; | 48 | config->font = strdup("monospace 10"); |
49 | config->mode = NULL; | 49 | config->mode = NULL; |
50 | config->sep_symbol = NULL; | 50 | config->sep_symbol = NULL; |
51 | config->strip_workspace_numbers = false; | 51 | config->strip_workspace_numbers = false; |
52 | config->binding_mode_indicator = true; | 52 | config->binding_mode_indicator = true; |
53 | config->workspace_buttons = true; | 53 | config->workspace_buttons = true; |
54 | 54 | ||
55 | /* layout */ | 55 | /* height */ |
56 | config->margin = 3; | 56 | config->height = 0; |
57 | config->ws_horizontal_padding = 5; | ||
58 | config->ws_vertical_padding = 1.5; | ||
59 | config->ws_spacing = 1; | ||
60 | config->text_height = 30; | ||
61 | 57 | ||
62 | /* colors */ | 58 | /* colors */ |
63 | config->colors.background = 0x000000FF; | 59 | config->colors.background = 0x000000FF; |