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.
This commit is contained in:
Brian Ashworth 2018-11-25 22:08:58 -05:00
parent 91bbb2a7dd
commit e6562c8cd2
8 changed files with 126 additions and 21 deletions

View file

@ -88,6 +88,7 @@ sway_sources = files(
'commands/swaynag_command.c',
'commands/swap.c',
'commands/tiling_drag.c',
'commands/title_align.c',
'commands/title_format.c',
'commands/titlebar_border_thickness.c',
'commands/titlebar_padding.c',