summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-01-28 03:21:26 +0000
committerjao <jao@gnu.org>2022-01-29 06:42:29 +0000
commitf3cf53bad93d290130a13cf4e56df54b51d5c174 (patch)
treed3c934b9e097b19d826938e0050309f8a0b2a333 /src
parenta5c35003c88c4b050e56cfb5d93a0e0d77d9c223 (diff)
downloadxmobar-f3cf53bad93d290130a13cf4e56df54b51d5c174.tar.gz
xmobar-f3cf53bad93d290130a13cf4e56df54b51d5c174.tar.bz2
Xmobar.Run.Command -> Xmobar.Plugins.Command
Diffstat (limited to 'src')
-rw-r--r--src/Xmobar.hs4
-rw-r--r--src/Xmobar/Plugins/Command.hs (renamed from src/Xmobar/Run/Command.hs)4
-rw-r--r--src/Xmobar/Run/Template.hs3
-rw-r--r--src/Xmobar/Run/Types.hs5
4 files changed, 8 insertions, 8 deletions
diff --git a/src/Xmobar.hs b/src/Xmobar.hs
index 2a32da1..ced40a5 100644
--- a/src/Xmobar.hs
+++ b/src/Xmobar.hs
@@ -3,7 +3,7 @@
-----------------------------------------------------------------------------
-- |
-- Module : Xmobar
--- Copyright : (c) 2011, 2012, 2013, 2014, 2015, 2017, 2018, 2019 Jose Antonio Ortega Ruiz
+-- Copyright : (c) 2011, 2012, 2013, 2014, 2015, 2017, 2018, 2019, 2022 Jose Antonio Ortega Ruiz
-- (c) 2007 Andrea Rossato
-- License : BSD-style (see LICENSE)
--
@@ -51,9 +51,9 @@ module Xmobar (xmobar
import Xmobar.Run.Runnable
import Xmobar.Run.Exec
-import Xmobar.Run.Command
import Xmobar.Config.Types
import Xmobar.Config.Parse
+import Xmobar.Plugins.Command
import Xmobar.Plugins.BufferedPipeReader
import Xmobar.Plugins.CommandReader
import Xmobar.Plugins.Date
diff --git a/src/Xmobar/Run/Command.hs b/src/Xmobar/Plugins/Command.hs
index 430d142..d63f56c 100644
--- a/src/Xmobar/Run/Command.hs
+++ b/src/Xmobar/Plugins/Command.hs
@@ -1,7 +1,7 @@
------------------------------------------------------------------------------
-- |
-- Module: Xmobar.Plugins.Command
--- Copyright: (c) 2018 Jose Antonio Ortega Ruiz
+-- Copyright: (c) 2018, 2022 Jose Antonio Ortega Ruiz
-- License: BSD3-style (see LICENSE)
--
-- Maintainer: jao@gnu.org
@@ -15,7 +15,7 @@
------------------------------------------------------------------------------
-module Xmobar.Run.Command where
+module Xmobar.Plugins.Command where
import Control.Exception (handle, SomeException(..))
import System.Process
diff --git a/src/Xmobar/Run/Template.hs b/src/Xmobar/Run/Template.hs
index 50c3a08..87c84d3 100644
--- a/src/Xmobar/Run/Template.hs
+++ b/src/Xmobar/Run/Template.hs
@@ -20,8 +20,9 @@ module Xmobar.Run.Template(parseTemplate, splitTemplate) where
import qualified Data.Map as Map
import Text.ParserCombinators.Parsec
+import Xmobar.Plugins.Command
+
import Xmobar.Run.Exec
-import Xmobar.Run.Command
import Xmobar.Run.Runnable
defaultAlign :: String
diff --git a/src/Xmobar/Run/Types.hs b/src/Xmobar/Run/Types.hs
index 0d4ed42..69406bb 100644
--- a/src/Xmobar/Run/Types.hs
+++ b/src/Xmobar/Run/Types.hs
@@ -2,7 +2,7 @@
------------------------------------------------------------------------------
-- |
-- Module: Xmobar.Run.Types
--- Copyright: (c) 2018 Jose Antonio Ortega Ruiz
+-- Copyright: (c) 2018, 2022 Jose Antonio Ortega Ruiz
-- License: BSD3-style (see LICENSE)
--
-- Maintainer: jao@gnu.org
@@ -19,6 +19,7 @@
module Xmobar.Run.Types(runnableTypes) where
import {-# SOURCE #-} Xmobar.Run.Runnable()
+import Xmobar.Plugins.Command
import Xmobar.Plugins.Monitors
import Xmobar.Plugins.Date
import Xmobar.Plugins.PipeReader
@@ -45,8 +46,6 @@ import Xmobar.Plugins.DateZone
import Xmobar.Plugins.Kraken
#endif
-import Xmobar.Run.Command
-
-- | An alias for tuple types that is more convenient for long lists.
type a :*: b = (a, b)
infixr :*: