diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-01-24 00:23:09 +0100 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-01-24 14:22:19 +0100 |
commit | fcc47cb3bddd20a2fd068a4e486415112e4d4d20 (patch) | |
tree | e75ee1a9a744f6954ae8b2a53c69b8de0c0391a4 /swaybar/config.c | |
parent | a6349a2444571624c792ca222dff57c7f1711c71 (diff) |
swaybar: move ipc stuff to ipc.{h,c}
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() { struct swaybar_config *config = calloc(1, sizeof(struct swaybar_config)); config->status_command = NULL; config->position = DESKTOP_SHELL_PANEL_POSITION_BOTTOM; - config->font = NULL; + config->font = strdup("monospace 10"); config->mode = NULL; config->sep_symbol = NULL; config->strip_workspace_numbers = false; config->binding_mode_indicator = true; config->workspace_buttons = true; - /* layout */ - config->margin = 3; - config->ws_horizontal_padding = 5; - config->ws_vertical_padding = 1.5; - config->ws_spacing = 1; - config->text_height = 30; + /* height */ + config->height = 0; /* colors */ config->colors.background = 0x000000FF; |