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:
@ -172,6 +172,10 @@ separator_block_width::
|
||||
this gap, a separator line will be drawn unless +separator+ is
|
||||
disabled. Normally, you want to set this to an odd value (the default
|
||||
is 9 pixels), since the separator line is drawn in the middle.
|
||||
markup::
|
||||
A string that indicates how the text of the block should be parsed. Set to
|
||||
+"pango"+ to use https://developer.gnome.org/pango/stable/PangoMarkupFormat.html[Pango markup]
|
||||
(default). Set to +"none"+ to not use any markup.
|
||||
|
||||
If you want to put in your own entries into a block, prefix the key with an
|
||||
underscore (_). i3bar will ignore all keys it doesn’t understand, and prefixing
|
||||
|
Reference in New Issue
Block a user