summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@users.noreply.github.com>2015-12-05 20:00:27 +0100
committerMichael Stapelberg <stapelberg@users.noreply.github.com>2015-12-05 20:00:27 +0100
commit395d02518ccbdc27318ae676075ee4d91f1515d5 (patch)
treebe4adabae8ccab52113198b7b01b7a17fee0244c /man
parent876c1cef8d182ae1898368b415cf67dede279036 (diff)
parentdcd0518e25d7aa84a720780cb70b3f8fca867972 (diff)
Merge pull request #72 from ixjlyons/pango-setting
Implement a pango option
Diffstat (limited to 'man')
-rw-r--r--man/i3status.man19
1 files changed, 19 insertions, 0 deletions
diff --git a/man/i3status.man b/man/i3status.man
index d550b81..0b5b367 100644
--- a/man/i3status.man
+++ b/man/i3status.man
@@ -184,6 +184,13 @@ format as the separator is drawn by i3bar directly otherwise. For the other
output formats, the provided non-empty string will be automatically enclosed
with the necessary coloring bits if color support is enabled.
+i3bar supports Pango markup, allowing your format strings to specify font
+color, size, etc. by setting the +markup+ directive to "pango". Note that the
+ampersand ("&"), less-than ("<"), greater-than (">"), single-quote ("'"), and
+double-quote (""") characters need to be replaced with "`&amp;`", "`&lt;`",
+"`&gt;`", "`&apos;`", and "`&quot;`" respectively. This is done automatically
+for generated content (e.g. wireless ESSID, time).
+
*Example configuration*:
-------------------------------------------------------------
general {
@@ -417,6 +424,18 @@ in the +tztime+ module.
*Example timezone*: +Europe/Berlin+
+If you would like to use markup in this section, there is a separate
++format_time+ option that is automatically escaped. Its output then replaces
+%time in the format string.
+
+*Example configuration (markup)*:
+-------------------------------------------------------------
+tztime time {
+ format = "<span foreground='#ffffff'>time:</span> %time"
+ format_time = "%H:%M %Z"
+}
+-------------------------------------------------------------
+
=== DDate
Outputs the current discordian date in user-specified format. See +ddate(1)+ for