aboutsummaryrefslogtreecommitdiffstats
path: root/sway/config.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/config.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/config.c')
-rw-r--r--sway/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c
index 59edc6d8..675d20e5 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -234,6 +234,7 @@ static void config_defaults(struct sway_config *config) {
234 config->auto_back_and_forth = false; 234 config->auto_back_and_forth = false;
235 config->reading = false; 235 config->reading = false;
236 config->show_marks = true; 236 config->show_marks = true;
237 config->title_align = ALIGN_LEFT;
237 config->tiling_drag = true; 238 config->tiling_drag = true;
238 239
239 config->smart_gaps = false; 240 config->smart_gaps = false;