aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-11-25 22:08:58 -0500
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-11-25 22:08:58 -0500
commite6562c8cd26c2e7caa4c83aaa5d734643fba4015 (patch)
treefb6074dc638c2543e2ed5d3aace86ef74e8d1466 /sway/commands.c
parentMerge pull request #3184 from kupospelov/fix-resize (diff)
downloadsway-e6562c8cd26c2e7caa4c83aaa5d734643fba4015.tar.gz
sway-e6562c8cd26c2e7caa4c83aaa5d734643fba4015.tar.zst
sway-e6562c8cd26c2e7caa4c83aaa5d734643fba4015.zip
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.c1
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[] = {
103 { "smart_borders", cmd_smart_borders }, 103 { "smart_borders", cmd_smart_borders },
104 { "smart_gaps", cmd_smart_gaps }, 104 { "smart_gaps", cmd_smart_gaps },
105 { "tiling_drag", cmd_tiling_drag }, 105 { "tiling_drag", cmd_tiling_drag },
106 { "title_align", cmd_title_align },
106 { "titlebar_border_thickness", cmd_titlebar_border_thickness }, 107 { "titlebar_border_thickness", cmd_titlebar_border_thickness },
107 { "titlebar_padding", cmd_titlebar_padding }, 108 { "titlebar_padding", cmd_titlebar_padding },
108 { "workspace", cmd_workspace }, 109 { "workspace", cmd_workspace },