aboutsummaryrefslogtreecommitdiffstats
path: root/sway/config
diff options
context:
space:
mode:
authorLibravatar Daniel Otero <otero.o.daniel@gmail.com>2021-03-19 18:02:46 +0100
committerLibravatar Simon Ser <contact@emersion.fr>2021-06-03 14:18:23 +0200
commitb997147284b9d5632f1f929f02a17936a77cd7ec (patch)
tree6a2e93690d0dbd3c4eb032ce3d2bbf7e9671af27 /sway/config
parentOnly defer seat attachment during initial startup (diff)
downloadsway-b997147284b9d5632f1f929f02a17936a77cd7ec.tar.gz
sway-b997147284b9d5632f1f929f02a17936a77cd7ec.tar.zst
sway-b997147284b9d5632f1f929f02a17936a77cd7ec.zip
config: Fix swaybar pango_markup inconsistency
Until now, swaybar did not have pango markup enabled by default, even if the sway config had it on. This patch aims to mimic the i3 behavior, but maintaining the functionality of the "pango_markup" sway config command.
Diffstat (limited to 'sway/config')
-rw-r--r--sway/config/bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config/bar.c b/sway/config/bar.c
index 767534a6..8970f3fd 100644
--- a/sway/config/bar.c
+++ b/sway/config/bar.c
@@ -91,7 +91,7 @@ struct bar_config *default_bar_config(void) {
91 } 91 }
92 bar->outputs = NULL; 92 bar->outputs = NULL;
93 bar->position = strdup("bottom"); 93 bar->position = strdup("bottom");
94 bar->pango_markup = false; 94 bar->pango_markup = PANGO_MARKUP_DEFAULT;
95 bar->swaybar_command = NULL; 95 bar->swaybar_command = NULL;
96 bar->font = NULL; 96 bar->font = NULL;
97 bar->height = 0; 97 bar->height = 0;