summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorPavel Kalugin <pavel@pavelthebest.me>2022-01-31 21:48:15 +0300
committerPavel Kalugin <pavel@pavelthebest.me>2022-01-31 23:40:49 +0300
commit65f67cc86d3929802f227133c1003dc4174ee85d (patch)
treefed382a49089fdabcea9e2fa7399cb4e5a2e6acc /examples
parentdde86479be0835ae4a9fe14e14857a3460fd8e1d (diff)
downloadxmobar-65f67cc86d3929802f227133c1003dc4174ee85d.tar.gz
xmobar-65f67cc86d3929802f227133c1003dc4174ee85d.tar.bz2
Text output: support choosing between Pango and ANSI markup
Signed-off-by: Pavel Kalugin <pavel@pavelthebest.me>
Diffstat (limited to 'examples')
-rw-r--r--examples/xmobar.config1
-rw-r--r--examples/xmobar.hs1
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/xmobar.config b/examples/xmobar.config
index c0d4cdc..150f4fd 100644
--- a/examples/xmobar.config
+++ b/examples/xmobar.config
@@ -15,6 +15,7 @@ Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
, iconRoot = "."
, allDesktops = True
, overrideRedirect = True
+ , textOutputColors = Ansi
, commands = [ Run Weather "EGPF" ["-t","<station>: <tempC>C",
"-L","18","-H","25",
"--normal","green",
diff --git a/examples/xmobar.hs b/examples/xmobar.hs
index 4df8722..ea519eb 100644
--- a/examples/xmobar.hs
+++ b/examples/xmobar.hs
@@ -49,6 +49,7 @@ config = defaultConfig {
, iconRoot = "."
, allDesktops = True
, overrideRedirect = True
+ , textOutputColors = Ansi
, commands = [ Run $ Weather "EGPH" ["-t","<station>: <tempC>C",
"-L","18","-H","25",
"--normal","green",