From dc262d1628aa3e1bfe17ce99bfe89782b6185cc5 Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 3 Feb 2022 05:14:45 +0000 Subject: 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. --- examples/xmobar.config | 2 +- examples/xmobar.hs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') 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",": 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",": C", "-L","18","-H","25", "--normal","green", -- cgit v1.2.3