summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-02-04 00:00:57 +0000
committerjao <jao@gnu.org>2022-02-04 00:00:57 +0000
commit1e9b9e068844454335bc9d4728cf738eb2b3ceed (patch)
tree5613b2a5cabaa75a21e0979b9635ea77dbe2db4a /src/Xmobar
parent76557c53f60bab75459db03e29c50f5d6ae55309 (diff)
downloadxmobar-1e9b9e068844454335bc9d4728cf738eb2b3ceed.tar.gz
xmobar-1e9b9e068844454335bc9d4728cf738eb2b3ceed.tar.bz2
Xmobar.App.Timer -> Xmobar.Run.Timer
Diffstat (limited to 'src/Xmobar')
-rw-r--r--src/Xmobar/App/CommandThreads.hs2
-rw-r--r--src/Xmobar/Plugins/Monitors/Cpu.hs4
-rw-r--r--src/Xmobar/Run/Exec.hs2
-rw-r--r--src/Xmobar/Run/Timer.hs (renamed from src/Xmobar/App/Timer.hs)6
4 files changed, 7 insertions, 7 deletions
diff --git a/src/Xmobar/App/CommandThreads.hs b/src/Xmobar/App/CommandThreads.hs
index 931a072..28bf926 100644
--- a/src/Xmobar/App/CommandThreads.hs
+++ b/src/Xmobar/App/CommandThreads.hs
@@ -34,7 +34,7 @@ import Xmobar.Config.Types
import Xmobar.Run.Runnable (Runnable)
import Xmobar.Run.Exec (start, trigger, alias)
import Xmobar.Run.Template
-import Xmobar.App.Timer (withTimer)
+import Xmobar.Run.Timer (withTimer)
#ifdef DBUS
import Xmobar.System.DBus
diff --git a/src/Xmobar/Plugins/Monitors/Cpu.hs b/src/Xmobar/Plugins/Monitors/Cpu.hs
index d74e45c..adf737f 100644
--- a/src/Xmobar/Plugins/Monitors/Cpu.hs
+++ b/src/Xmobar/Plugins/Monitors/Cpu.hs
@@ -4,7 +4,7 @@
-----------------------------------------------------------------------------
-- |
-- Module : Plugins.Monitors.Cpu
--- Copyright : (c) 2011, 2017 Jose Antonio Ortega Ruiz
+-- Copyright : (c) 2011, 2017, 2022 Jose Antonio Ortega Ruiz
-- (c) 2007-2010 Andrea Rossato
-- License : BSD-style (see LICENSE)
--
@@ -30,7 +30,7 @@ module Xmobar.Plugins.Monitors.Cpu
import Xmobar.Plugins.Monitors.Common
import Data.IORef (newIORef)
import System.Console.GetOpt
-import Xmobar.App.Timer (doEveryTenthSeconds)
+import Xmobar.Run.Timer (doEveryTenthSeconds)
import Control.Monad (void)
import Xmobar.Plugins.Monitors.Cpu.Common (CpuData(..))
diff --git a/src/Xmobar/Run/Exec.hs b/src/Xmobar/Run/Exec.hs
index e1b6709..1879361 100644
--- a/src/Xmobar/Run/Exec.hs
+++ b/src/Xmobar/Run/Exec.hs
@@ -22,7 +22,7 @@ module Xmobar.Run.Exec (Exec (..), tenthSeconds, doEveryTenthSeconds) where
import Prelude
import Data.Char
-import Xmobar.App.Timer (doEveryTenthSeconds, tenthSeconds)
+import Xmobar.Run.Timer (doEveryTenthSeconds, tenthSeconds)
import Xmobar.System.Signal
class Show e => Exec e where
diff --git a/src/Xmobar/App/Timer.hs b/src/Xmobar/Run/Timer.hs
index 23c48c0..1df2c23 100644
--- a/src/Xmobar/App/Timer.hs
+++ b/src/Xmobar/Run/Timer.hs
@@ -1,8 +1,8 @@
{-# LANGUAGE LambdaCase #-}
------------------------------------------------------------------------------
-- |
--- Module: Xmobar.App.Timer
--- Copyright: (c) 2019, 2020 Tomáš Janoušek
+-- Module: Xmobar.Run.Timer
+-- Copyright: (c) 2019, 2020, 2022 Tomáš Janoušek
-- License: BSD3-style (see LICENSE)
--
-- Maintainer: Tomáš Janoušek <tomi@nomi.cz>
@@ -12,7 +12,7 @@
--
------------------------------------------------------------------------------
-module Xmobar.App.Timer
+module Xmobar.Run.Timer
( doEveryTenthSeconds
, tenthSeconds
, withTimer