i3bar: set markup per block

Add `markup` to the i3bar protocol as a block member.

This is a string that determines how the block should be parsed as
markup. "pango" indicates the block should be parsed as Pango markup.
"none" indicates the block should not be parsed as markup.
This commit is contained in:
Tony Crisci
2015-03-24 02:27:38 -04:00
parent ff62a68c1e
commit e681f34ec1
5 changed files with 45 additions and 3 deletions

View File

@ -217,6 +217,11 @@ size_t i3string_get_num_bytes(i3String *str);
*/
bool i3string_is_markup(i3String *str);
/**
* Set whether the i3String should use Pango markup.
*/
void i3string_set_markup(i3String *str, bool is_markup);
/**
* Returns the number of glyphs in an i3String.
*