Allow explicitly specifying the font with %{Tindex}

This commit is contained in:
Sakari Kapanen
2015-01-21 20:43:22 +02:00
parent c39c4e4d8b
commit 3b8afc6b05
2 changed files with 33 additions and 7 deletions

View File

@@ -84,6 +84,10 @@ Set the text background color. The parameter I<color> can be I<-> or a color in
Set the text foreground color. The parameter I<color> can be I<-> or a color in one of the formats mentioned before. The special value I<-> resets the color to the default one.
=item B<T>I<index>
Set the font used to draw the following text. The parameter I<index> is a 1-based index of the font list supplied to bar. Any other value (for example I<->) resets bar to normal behaviour (matching the first font that can be used for that character). If the selected font can't be used to draw a character, bar will fall back to normal behaviour for that character.
=item B<U>I<color>
Set the text underline color. The parameter I<color> can be I<-> or a color in one of the formats mentioned before. The special value I<-> resets the color to the default one.
@@ -164,6 +168,6 @@ L<git repository|https://github.com/LemonBoy/bar>
Xinerama support was kindly contributed by Stebalien
RandR support was kindly contributed by jvvv
RandR support was kindly contributed by jvvv
Clickable areas support was heavily based off u-ra contribution