mirror of
https://github.com/swaywm/sway.git
synced 2026-03-10 05:34:03 -04:00
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.
This commit is contained in:
parent
c0f92cb2fb
commit
ca0a75d540
12 changed files with 44 additions and 4 deletions
|
|
@ -662,6 +662,8 @@ json_object *ipc_json_describe_bar_config(struct bar_config *bar) {
|
|||
json_object_new_int(bar->height));
|
||||
json_object_object_add(json, "status_padding",
|
||||
json_object_new_int(bar->status_padding));
|
||||
json_object_object_add(json, "status_edge_padding",
|
||||
json_object_new_int(bar->status_edge_padding));
|
||||
json_object_object_add(json, "wrap_scroll",
|
||||
json_object_new_boolean(bar->wrap_scroll));
|
||||
json_object_object_add(json, "workspace_buttons",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue