aboutsummaryrefslogtreecommitdiff
path: root/swaybar/render.c
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2016-04-24 19:57:35 +0300
committerMykyta Holubakha <hilobakho@gmail.com>2016-04-24 19:57:35 +0300
commit53b53dd8c24004d9b2a2170590432d62656c43c2 (patch)
treeaba12b0488a16e198e4fdd4fe02ca8ee63b56bb8 /swaybar/render.c
parenta796ce4f667575d4f5c663c9baa817f8c0842f6e (diff)
Added plaintext markup configuration
Diffstat (limited to 'swaybar/render.c')
-rw-r--r--swaybar/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/render.c b/swaybar/render.c
index 5901b557..833198fd 100644
--- a/swaybar/render.c
+++ b/swaybar/render.c
@@ -280,7 +280,7 @@ void render(struct output *output, struct config *config, struct status_line *li
if (line->protocol == TEXT) {
get_text_size(window->cairo, window->font, &width, &height, true, "%s", line->text_line);
cairo_move_to(cairo, window->width - margin - width, margin);
- pango_printf(window->cairo, window->font, true, "%s", line->text_line);
+ pango_printf(window->cairo, window->font, config->plaintext_markup, "%s", line->text_line);
} else if (line->protocol == I3BAR && line->block_line) {
double pos = window->width - 0.5;
bool edge = true;