diff options
author | jao <jao@gnu.org> | 2018-11-25 07:35:54 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2018-11-25 07:35:54 +0000 |
commit | 426c931d5b0ebc6d53396c34ec38eb342be501c3 (patch) | |
tree | 85ee8fc4b09384017b52a4822b61ebceffb8e95b /src/lib/Xmobar/Plugins | |
parent | c763954685fd3f4d8998cd26cb4b9625fe6cb8e6 (diff) | |
download | xmobar-426c931d5b0ebc6d53396c34ec38eb342be501c3.tar.gz xmobar-426c931d5b0ebc6d53396c34ec38eb342be501c3.tar.bz2 |
Refactoring: Xmobar.Run
Diffstat (limited to 'src/lib/Xmobar/Plugins')
-rw-r--r-- | src/lib/Xmobar/Plugins/BufferedPipeReader.hs | 2 | ||||
-rw-r--r-- | src/lib/Xmobar/Plugins/CommandReader.hs | 2 | ||||
-rw-r--r-- | src/lib/Xmobar/Plugins/Date.hs | 2 | ||||
-rw-r--r-- | src/lib/Xmobar/Plugins/DateZone.hs | 2 | ||||
-rw-r--r-- | src/lib/Xmobar/Plugins/EWMH.hs | 2 | ||||
-rw-r--r-- | src/lib/Xmobar/Plugins/Kbd.hs | 2 | ||||
-rw-r--r-- | src/lib/Xmobar/Plugins/Locks.hs | 2 | ||||
-rw-r--r-- | src/lib/Xmobar/Plugins/MBox.hs | 2 | ||||
-rw-r--r-- | src/lib/Xmobar/Plugins/Mail.hs | 2 | ||||
-rw-r--r-- | src/lib/Xmobar/Plugins/MarqueePipeReader.hs | 2 | ||||
-rw-r--r-- | src/lib/Xmobar/Plugins/Monitors.hs | 2 | ||||
-rw-r--r-- | src/lib/Xmobar/Plugins/PipeReader.hs | 2 | ||||
-rw-r--r-- | src/lib/Xmobar/Plugins/StdinReader.hs | 2 | ||||
-rw-r--r-- | src/lib/Xmobar/Plugins/XMonadLog.hs | 2 |
14 files changed, 14 insertions, 14 deletions
diff --git a/src/lib/Xmobar/Plugins/BufferedPipeReader.hs b/src/lib/Xmobar/Plugins/BufferedPipeReader.hs index 0b55cf7..65ecea2 100644 --- a/src/lib/Xmobar/Plugins/BufferedPipeReader.hs +++ b/src/lib/Xmobar/Plugins/BufferedPipeReader.hs @@ -20,8 +20,8 @@ import Control.Concurrent.STM import System.IO import System.IO.Unsafe(unsafePerformIO) -import Xmobar.Commands import Xmobar.Utils(hGetLineSafe) +import Xmobar.Run.Commands import Xmobar.System.Signal import Xmobar.System.Environment diff --git a/src/lib/Xmobar/Plugins/CommandReader.hs b/src/lib/Xmobar/Plugins/CommandReader.hs index 4c71c96..69c8e0c 100644 --- a/src/lib/Xmobar/Plugins/CommandReader.hs +++ b/src/lib/Xmobar/Plugins/CommandReader.hs @@ -16,7 +16,7 @@ module Xmobar.Plugins.CommandReader(CommandReader(..)) where import System.IO -import Xmobar.Commands +import Xmobar.Run.Commands import Xmobar.Utils (hGetLineSafe) import System.Process(runInteractiveCommand, getProcessExitCode) diff --git a/src/lib/Xmobar/Plugins/Date.hs b/src/lib/Xmobar/Plugins/Date.hs index fd7acae..62a4ee7 100644 --- a/src/lib/Xmobar/Plugins/Date.hs +++ b/src/lib/Xmobar/Plugins/Date.hs @@ -19,7 +19,7 @@ module Xmobar.Plugins.Date (Date(..)) where -import Xmobar.Commands +import Xmobar.Run.Commands #if ! MIN_VERSION_time(1,5,0) import System.Locale diff --git a/src/lib/Xmobar/Plugins/DateZone.hs b/src/lib/Xmobar/Plugins/DateZone.hs index f3207c8..7215713 100644 --- a/src/lib/Xmobar/Plugins/DateZone.hs +++ b/src/lib/Xmobar/Plugins/DateZone.hs @@ -22,7 +22,7 @@ module Xmobar.Plugins.DateZone (DateZone(..)) where -import Xmobar.Commands +import Xmobar.Run.Commands import Xmobar.Utils(tenthSeconds) #ifdef DATEZONE diff --git a/src/lib/Xmobar/Plugins/EWMH.hs b/src/lib/Xmobar/Plugins/EWMH.hs index ab5dc32..4a443d6 100644 --- a/src/lib/Xmobar/Plugins/EWMH.hs +++ b/src/lib/Xmobar/Plugins/EWMH.hs @@ -22,7 +22,7 @@ import Control.Monad.State import Control.Monad.Reader import Graphics.X11 hiding (Modifier, Color) import Graphics.X11.Xlib.Extras -import Xmobar.Commands +import Xmobar.Run.Commands #ifdef UTF8 #undef UTF8 import Codec.Binary.UTF8.String as UTF8 diff --git a/src/lib/Xmobar/Plugins/Kbd.hs b/src/lib/Xmobar/Plugins/Kbd.hs index f8ad971..f4dad36 100644 --- a/src/lib/Xmobar/Plugins/Kbd.hs +++ b/src/lib/Xmobar/Plugins/Kbd.hs @@ -20,7 +20,7 @@ import Control.Monad (forever) import Graphics.X11.Xlib import Graphics.X11.Xlib.Extras -import Xmobar.Commands +import Xmobar.Run.Commands import Xmobar.Utils (nextEvent') import Xmobar.System.Kbd diff --git a/src/lib/Xmobar/Plugins/Locks.hs b/src/lib/Xmobar/Plugins/Locks.hs index 1f73f1f..19bce20 100644 --- a/src/lib/Xmobar/Plugins/Locks.hs +++ b/src/lib/Xmobar/Plugins/Locks.hs @@ -19,7 +19,7 @@ import Data.List import Data.Bits import Control.Monad import Graphics.X11.Xlib.Extras -import Xmobar.Commands +import Xmobar.Run.Commands import Xmobar.System.Kbd import Xmobar.Utils (nextEvent') diff --git a/src/lib/Xmobar/Plugins/MBox.hs b/src/lib/Xmobar/Plugins/MBox.hs index ba50207..4bd0ebd 100644 --- a/src/lib/Xmobar/Plugins/MBox.hs +++ b/src/lib/Xmobar/Plugins/MBox.hs @@ -16,7 +16,7 @@ module Xmobar.Plugins.MBox (MBox(..)) where import Prelude -import Xmobar.Commands +import Xmobar.Run.Commands #ifdef INOTIFY import Xmobar.Utils (changeLoop, expandHome) diff --git a/src/lib/Xmobar/Plugins/Mail.hs b/src/lib/Xmobar/Plugins/Mail.hs index aa28b98..d59e70d 100644 --- a/src/lib/Xmobar/Plugins/Mail.hs +++ b/src/lib/Xmobar/Plugins/Mail.hs @@ -15,7 +15,7 @@ module Xmobar.Plugins.Mail(Mail(..)) where -import Xmobar.Commands +import Xmobar.Run.Commands #ifdef INOTIFY import Xmobar.Utils (expandHome, changeLoop) diff --git a/src/lib/Xmobar/Plugins/MarqueePipeReader.hs b/src/lib/Xmobar/Plugins/MarqueePipeReader.hs index 3cce008..a48e81c 100644 --- a/src/lib/Xmobar/Plugins/MarqueePipeReader.hs +++ b/src/lib/Xmobar/Plugins/MarqueePipeReader.hs @@ -17,7 +17,7 @@ module Xmobar.Plugins.MarqueePipeReader where import System.IO (openFile, IOMode(ReadWriteMode), Handle) import Xmobar.System.Environment import Xmobar.Utils(tenthSeconds, hGetLineSafe) -import Xmobar.Commands(Exec(alias, start)) +import Xmobar.Run.Commands(Exec(alias, start)) import System.Posix.Files (getFileStatus, isNamedPipe) import Control.Concurrent(forkIO, threadDelay) import Control.Concurrent.STM (TChan, atomically, writeTChan, tryReadTChan, newTChan) diff --git a/src/lib/Xmobar/Plugins/Monitors.hs b/src/lib/Xmobar/Plugins/Monitors.hs index b263bd8..fe909d8 100644 --- a/src/lib/Xmobar/Plugins/Monitors.hs +++ b/src/lib/Xmobar/Plugins/Monitors.hs @@ -17,7 +17,7 @@ module Xmobar.Plugins.Monitors where -import Xmobar.Commands +import Xmobar.Run.Commands import Xmobar.Plugins.Monitors.Common (runM, runMD) #ifdef WEATHER diff --git a/src/lib/Xmobar/Plugins/PipeReader.hs b/src/lib/Xmobar/Plugins/PipeReader.hs index d04f747..f18b9cb 100644 --- a/src/lib/Xmobar/Plugins/PipeReader.hs +++ b/src/lib/Xmobar/Plugins/PipeReader.hs @@ -15,8 +15,8 @@ module Xmobar.Plugins.PipeReader(PipeReader(..)) where import System.IO -import Xmobar.Commands(Exec(..)) import Xmobar.Utils(hGetLineSafe) +import Xmobar.Run.Commands(Exec(..)) import Xmobar.System.Environment(expandEnv) import System.Posix.Files import Control.Concurrent(threadDelay) diff --git a/src/lib/Xmobar/Plugins/StdinReader.hs b/src/lib/Xmobar/Plugins/StdinReader.hs index ff96b2b..bed7f5c 100644 --- a/src/lib/Xmobar/Plugins/StdinReader.hs +++ b/src/lib/Xmobar/Plugins/StdinReader.hs @@ -23,9 +23,9 @@ import System.Posix.Process import System.Exit import System.IO import Control.Exception (SomeException(..), handle) -import Xmobar.Commands import Xmobar.Actions (stripActions) import Xmobar.Utils (hGetLineSafe) +import Xmobar.Run.Commands data StdinReader = StdinReader | UnsafeStdinReader deriving (Read, Show) diff --git a/src/lib/Xmobar/Plugins/XMonadLog.hs b/src/lib/Xmobar/Plugins/XMonadLog.hs index 908d2a4..a4f17bb 100644 --- a/src/lib/Xmobar/Plugins/XMonadLog.hs +++ b/src/lib/Xmobar/Plugins/XMonadLog.hs @@ -20,7 +20,7 @@ module Xmobar.Plugins.XMonadLog (XMonadLog(..)) where import Control.Monad import Graphics.X11 import Graphics.X11.Xlib.Extras -import Xmobar.Commands +import Xmobar.Run.Commands #ifdef UTF8 #undef UTF8 import Codec.Binary.UTF8.String as UTF8 |