mirror of
https://github.com/swaywm/sway.git
synced 2026-03-31 07:11:24 -04:00
Added plaintext markup configuration
This commit is contained in:
parent
a796ce4f66
commit
53b53dd8c2
7 changed files with 33 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue