mirror of
https://github.com/swaywm/sway.git
synced 2025-11-16 06:59:49 -05: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
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ struct swaybar_config {
|
|||
bool all_outputs;
|
||||
int height;
|
||||
int status_padding;
|
||||
int status_edge_padding;
|
||||
struct {
|
||||
int top;
|
||||
int right;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue