mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
swaybar: move ipc stuff to ipc.{h,c}
This commit is contained in:
parent
a6349a2444
commit
fcc47cb3bd
11 changed files with 359 additions and 301 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue