diff options
author | jao <jao@gnu.org> | 2018-11-25 03:40:55 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2018-11-25 03:40:55 +0000 |
commit | 0691071716e6cfa6040044be0ca782771fe6104c (patch) | |
tree | a079186bc8e4f44933a9a4c49f11ac30fcd6762b /src/lib/Xmobar/Plugins | |
parent | b909762b396932bf6d768c1f4beae5bbcb50f95a (diff) | |
download | xmobar-0691071716e6cfa6040044be0ca782771fe6104c.tar.gz xmobar-0691071716e6cfa6040044be0ca782771fe6104c.tar.bz2 |
Refactoring: Xmobar.System
Diffstat (limited to 'src/lib/Xmobar/Plugins')
-rw-r--r-- | src/lib/Xmobar/Plugins/BufferedPipeReader.hs | 2 | ||||
-rw-r--r-- | src/lib/Xmobar/Plugins/DateZone.hs | 3 | ||||
-rw-r--r-- | src/lib/Xmobar/Plugins/Monitors/Disk.hs | 4 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/Xmobar/Plugins/BufferedPipeReader.hs b/src/lib/Xmobar/Plugins/BufferedPipeReader.hs index 4bb80db..ce6a783 100644 --- a/src/lib/Xmobar/Plugins/BufferedPipeReader.hs +++ b/src/lib/Xmobar/Plugins/BufferedPipeReader.hs @@ -22,8 +22,8 @@ import System.IO.Unsafe(unsafePerformIO) import Xmobar.Environment import Xmobar.Plugins -import Xmobar.Signal import Xmobar.Utils(hGetLineSafe) +import Xmobar.System.Signal data BufferedPipeReader = BufferedPipeReader String [(Int, Bool, String)] deriving (Read, Show) diff --git a/src/lib/Xmobar/Plugins/DateZone.hs b/src/lib/Xmobar/Plugins/DateZone.hs index 753f530..f386202 100644 --- a/src/lib/Xmobar/Plugins/DateZone.hs +++ b/src/lib/Xmobar/Plugins/DateZone.hs @@ -30,12 +30,13 @@ import Control.Concurrent.STM import System.IO.Unsafe -import Xmobar.Localize import Data.Time.Format import Data.Time.LocalTime import Data.Time.LocalTime.TimeZone.Olson import Data.Time.LocalTime.TimeZone.Series +import Xmobar.System.Localize + #if ! MIN_VERSION_time(1,5,0) import System.Locale (TimeLocale) #endif diff --git a/src/lib/Xmobar/Plugins/Monitors/Disk.hs b/src/lib/Xmobar/Plugins/Monitors/Disk.hs index aedad75..3f89629 100644 --- a/src/lib/Xmobar/Plugins/Monitors/Disk.hs +++ b/src/lib/Xmobar/Plugins/Monitors/Disk.hs @@ -1,7 +1,7 @@ ----------------------------------------------------------------------------- -- | -- Module : Plugins.Monitors.Disk --- Copyright : (c) 2010, 2011, 2012, 2014 Jose A Ortega Ruiz +-- Copyright : (c) 2010, 2011, 2012, 2014, 2018 Jose A Ortega Ruiz -- License : BSD-style (see LICENSE) -- -- Maintainer : Jose A Ortega Ruiz <jao@gnu.org> @@ -15,7 +15,7 @@ module Xmobar.Plugins.Monitors.Disk (diskUConfig, runDiskU, startDiskIO) where import Xmobar.Plugins.Monitors.Common -import Xmobar.StatFS +import Xmobar.System.StatFS import Data.IORef (IORef, newIORef, readIORef, writeIORef) |