summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-02-03 05:14:45 +0000
committerjao <jao@gnu.org>2022-02-03 05:14:45 +0000
commitdc262d1628aa3e1bfe17ce99bfe89782b6185cc5 (patch)
tree43c2bf077702bd118a9f37646ebce50d2025d15f /examples
parentd7d1873cd009edc8f3de8d141de388f638c6a926 (diff)
downloadxmobar-dc262d1628aa3e1bfe17ce99bfe89782b6185cc5.tar.gz
xmobar-dc262d1628aa3e1bfe17ce99bfe89782b6185cc5.tar.bz2
TextOutputColor -> TextOutputFormat
Thinking of eventually adding a Sway JSON output, or simply add fonts to Pango specification, so it's more than colors. Also, NoColors -> Plain.
Diffstat (limited to 'examples')
-rw-r--r--examples/xmobar.config2
-rw-r--r--examples/xmobar.hs4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/xmobar.config b/examples/xmobar.config
index 150f4fd..e951b67 100644
--- a/examples/xmobar.config
+++ b/examples/xmobar.config
@@ -15,7 +15,7 @@ Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
, iconRoot = "."
, allDesktops = True
, overrideRedirect = True
- , textOutputColors = Ansi
+ , textOutputFormat = 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 ea519eb..791d3af 100644
--- a/examples/xmobar.hs
+++ b/examples/xmobar.hs
@@ -1,6 +1,6 @@
------------------------------------------------------------------------------
-- |
--- Copyright: (c) 2018, 2019 Jose Antonio Ortega Ruiz
+-- Copyright: (c) 2018, 2019, 2022 Jose Antonio Ortega Ruiz
-- License: BSD3-style (see LICENSE)
--
-- Maintainer: jao@gnu.org
@@ -49,7 +49,7 @@ config = defaultConfig {
, iconRoot = "."
, allDesktops = True
, overrideRedirect = True
- , textOutputColors = Ansi
+ , textOutputFormat = Ansi
, commands = [ Run $ Weather "EGPH" ["-t","<station>: <tempC>C",
"-L","18","-H","25",
"--normal","green",