diff options
author | Brian Ashworth <[email protected]> | 2018-11-25 22:08:58 -0500 |
---|---|---|
committer | Brian Ashworth <[email protected]> | 2018-11-25 22:08:58 -0500 |
commit | e6562c8cd26c2e7caa4c83aaa5d734643fba4015 (patch) | |
tree | fb6074dc638c2543e2ed5d3aace86ef74e8d1466 /sway/commands.c | |
parent | 91bbb2a7ddded2e956c50226d0f0207cd7da550e (diff) |
Implement title alignment
This adds support for `i3 4.16`'s ability to set the title alignment.
The command is `title_align left|center|right`.
When the title is on the right, marks are moved to the left. Otherwise,
they are on the right.
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c index d35658d5..bffc18f6 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -103,6 +103,7 @@ static struct cmd_handler handlers[] = { { "smart_borders", cmd_smart_borders }, { "smart_gaps", cmd_smart_gaps }, { "tiling_drag", cmd_tiling_drag }, + { "title_align", cmd_title_align }, { "titlebar_border_thickness", cmd_titlebar_border_thickness }, { "titlebar_padding", cmd_titlebar_padding }, { "workspace", cmd_workspace }, |