diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-01-11 00:12:24 -0500 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-01-11 00:12:24 -0500 |
commit | ca0a75d5408125c4e2a9394fd1b08b7bbc4ff9c5 (patch) | |
tree | 37c5bfa911eebcb21f9712799160d1126363e139 /include/sway | |
parent | c0f92cb2fb94ac87396da99646f9219e54b36860 (diff) |
swaybar: add status_edge_padding command
This adds the bar subcommand `status_edge_padding <padding>` to set the
padding used when the status line is on the right edge of the bar.
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/commands.h | 1 | ||||
-rw-r--r-- | include/sway/config.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h index 95f34140..04f93ba9 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h @@ -198,6 +198,7 @@ sway_cmd bar_cmd_id; sway_cmd bar_cmd_position; sway_cmd bar_cmd_separator_symbol; sway_cmd bar_cmd_status_command; +sway_cmd bar_cmd_status_edge_padding; sway_cmd bar_cmd_status_padding; sway_cmd bar_cmd_pango_markup; sway_cmd bar_cmd_strip_workspace_numbers; diff --git a/include/sway/config.h b/include/sway/config.h index c49d4ccf..a667984d 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -233,6 +233,7 @@ struct bar_config { struct side_gaps gaps; pid_t pid; int status_padding; + int status_edge_padding; struct { char *background; char *statusline; |