mirror of
https://github.com/swaywm/sway.git
synced 2025-11-22 06:59:48 -05:00
swaybar: add status_padding command
Adds the bar subcommand `status_padding <padding>` which allows setting the padding used for swaybar. If `status_padding` is set to `0`, blocks will be able to take up the full height of the bar.
This commit is contained in:
parent
33d9de88ef
commit
c0f92cb2fb
12 changed files with 46 additions and 6 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_padding;
|
||||
sway_cmd bar_cmd_pango_markup;
|
||||
sway_cmd bar_cmd_strip_workspace_numbers;
|
||||
sway_cmd bar_cmd_strip_workspace_name;
|
||||
|
|
|
|||
|
|
@ -232,6 +232,7 @@ struct bar_config {
|
|||
bool verbose;
|
||||
struct side_gaps gaps;
|
||||
pid_t pid;
|
||||
int status_padding;
|
||||
struct {
|
||||
char *background;
|
||||
char *statusline;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue