diff options
Diffstat (limited to 'Plugins')
-rw-r--r-- | Plugins/CommandReader.hs | 4 | ||||
-rw-r--r-- | Plugins/Date.hs | 2 | ||||
-rw-r--r-- | Plugins/HelloWorld.hs | 6 | ||||
-rw-r--r-- | Plugins/Monitors.hs | 2 | ||||
-rw-r--r-- | Plugins/Monitors/Batt.hs | 2 | ||||
-rw-r--r-- | Plugins/Monitors/Common.hs | 2 | ||||
-rw-r--r-- | Plugins/Monitors/Cpu.hs | 2 | ||||
-rw-r--r-- | Plugins/Monitors/Mem.hs | 2 | ||||
-rw-r--r-- | Plugins/Monitors/Net.hs | 2 | ||||
-rw-r--r-- | Plugins/Monitors/Swap.hs | 2 | ||||
-rw-r--r-- | Plugins/Monitors/Weather.hs | 8 | ||||
-rw-r--r-- | Plugins/PipeReader.hs | 2 | ||||
-rw-r--r-- | Plugins/StdinReader.hs | 2 |
13 files changed, 19 insertions, 19 deletions
diff --git a/Plugins/CommandReader.hs b/Plugins/CommandReader.hs index eee23a6..7c7c92d 100644 --- a/Plugins/CommandReader.hs +++ b/Plugins/CommandReader.hs @@ -4,7 +4,7 @@ -- Copyright : (c) John Goerzen -- License : BSD-style (see LICENSE) -- --- Maintainer : Andrea Rossato <andrea.rossato@unibz.it> +-- Maintainer : Jose A. Ortega Ruiz <jao@gnu.org> -- Stability : unstable -- Portability : unportable -- @@ -31,7 +31,7 @@ instance Exec CommandReader where hSetBinaryMode hstdout False hSetBuffering hstdout LineBuffering forever ph (hGetLineSafe hstdout >>= cb) - where forever ph a = + where forever ph a = do a ec <- getProcessExitCode ph case ec of diff --git a/Plugins/Date.hs b/Plugins/Date.hs index a9e48aa..a4ed80f 100644 --- a/Plugins/Date.hs +++ b/Plugins/Date.hs @@ -4,7 +4,7 @@ -- Copyright : (c) Andrea Rossato -- License : BSD-style (see LICENSE) -- --- Maintainer : Andrea Rossato <andrea.rossato@unibz.it> +-- Maintainer : Jose A. Ortega Ruiz <jao@gnu.org> -- Stability : unstable -- Portability : unportable -- diff --git a/Plugins/HelloWorld.hs b/Plugins/HelloWorld.hs index 352a8a8..df5cff6 100644 --- a/Plugins/HelloWorld.hs +++ b/Plugins/HelloWorld.hs @@ -3,12 +3,12 @@ -- Module : Plugins.HelloWorld -- Copyright : (c) Andrea Rossato -- License : BSD-style (see LICENSE) --- --- Maintainer : Andrea Rossato <andrea.rossato@unibz.it> +-- +-- Maintainer : Jose A. Ortega Ruiz <jao@gnu.org> -- Stability : unstable -- Portability : unportable -- --- A plugin example for Xmobar, a text based status bar +-- A plugin example for Xmobar, a text based status bar -- ----------------------------------------------------------------------------- diff --git a/Plugins/Monitors.hs b/Plugins/Monitors.hs index dd01ce3..98949cf 100644 --- a/Plugins/Monitors.hs +++ b/Plugins/Monitors.hs @@ -6,7 +6,7 @@ -- Copyright : (c) Andrea Rossato -- License : BSD-style (see LICENSE) -- --- Maintainer : Andrea Rossato <andrea.rossato@unibz.it> +-- Maintainer : Jose A. Ortega Ruiz <jao@gnu.org> -- Stability : unstable -- Portability : unportable -- diff --git a/Plugins/Monitors/Batt.hs b/Plugins/Monitors/Batt.hs index b860210..11b2d6c 100644 --- a/Plugins/Monitors/Batt.hs +++ b/Plugins/Monitors/Batt.hs @@ -4,7 +4,7 @@ -- Copyright : (c) Andrea Rossato, 2010 Petr Rockai, 2010 Jose A Ortega -- License : BSD-style (see LICENSE) -- --- Maintainer : Andrea Rossato <andrea.rossato@unibz.it> +-- Maintainer : Jose A. Ortega Ruiz <jao@gnu.org> -- Stability : unstable -- Portability : unportable -- diff --git a/Plugins/Monitors/Common.hs b/Plugins/Monitors/Common.hs index 9a76be5..a00cd48 100644 --- a/Plugins/Monitors/Common.hs +++ b/Plugins/Monitors/Common.hs @@ -4,7 +4,7 @@ -- Copyright : (c) Andrea Rossato -- License : BSD-style (see LICENSE) -- --- Maintainer : Andrea Rossato <andrea.rossato@unibz.it> +-- Maintainer : Jose A. Ortega Ruiz <jao@gnu.org> -- Stability : unstable -- Portability : unportable -- diff --git a/Plugins/Monitors/Cpu.hs b/Plugins/Monitors/Cpu.hs index 78e3ec7..71e8ac3 100644 --- a/Plugins/Monitors/Cpu.hs +++ b/Plugins/Monitors/Cpu.hs @@ -4,7 +4,7 @@ -- Copyright : (c) Andrea Rossato -- License : BSD-style (see LICENSE) -- --- Maintainer : Andrea Rossato <andrea.rossato@unibz.it> +-- Maintainer : Jose A. Ortega Ruiz <jao@gnu.org> -- Stability : unstable -- Portability : unportable -- diff --git a/Plugins/Monitors/Mem.hs b/Plugins/Monitors/Mem.hs index a55d58e..5c55ee2 100644 --- a/Plugins/Monitors/Mem.hs +++ b/Plugins/Monitors/Mem.hs @@ -4,7 +4,7 @@ -- Copyright : (c) Andrea Rossato -- License : BSD-style (see LICENSE) -- --- Maintainer : Andrea Rossato <andrea.rossato@unibz.it> +-- Maintainer : Jose A. Ortega Ruiz <jao@gnu.org> -- Stability : unstable -- Portability : unportable -- diff --git a/Plugins/Monitors/Net.hs b/Plugins/Monitors/Net.hs index c232b42..64e7eaf 100644 --- a/Plugins/Monitors/Net.hs +++ b/Plugins/Monitors/Net.hs @@ -4,7 +4,7 @@ -- Copyright : (c) Andrea Rossato -- License : BSD-style (see LICENSE) -- --- Maintainer : Andrea Rossato <andrea.rossato@unibz.it> +-- Maintainer : Jose A. Ortega Ruiz <jao@gnu.org> -- Stability : unstable -- Portability : unportable -- diff --git a/Plugins/Monitors/Swap.hs b/Plugins/Monitors/Swap.hs index d2e6077..e466dbb 100644 --- a/Plugins/Monitors/Swap.hs +++ b/Plugins/Monitors/Swap.hs @@ -4,7 +4,7 @@ -- Copyright : (c) Andrea Rossato -- License : BSD-style (see LICENSE) -- --- Maintainer : Andrea Rossato <andrea.rossato@unibz.it> +-- Maintainer : Jose A. Ortega Ruiz <jao@gnu.org> -- Stability : unstable -- Portability : unportable -- diff --git a/Plugins/Monitors/Weather.hs b/Plugins/Monitors/Weather.hs index 15d084e..1277438 100644 --- a/Plugins/Monitors/Weather.hs +++ b/Plugins/Monitors/Weather.hs @@ -3,8 +3,8 @@ -- Module : Plugins.Monitors.Weather -- Copyright : (c) Andrea Rossato -- License : BSD-style (see LICENSE) --- --- Maintainer : Andrea Rossato <andrea.rossato@unibz.it> +-- +-- Maintainer : Jose A. Ortega Ruiz <jao@gnu.org> -- Stability : unstable -- Portability : unportable -- @@ -90,8 +90,8 @@ pPressure = do manyTill anyChar $ char '(' return $ read s parseData :: Parser [WeatherInfo] -parseData = - do st <- getAllBut "," +parseData = + do st <- getAllBut "," space ss <- getAllBut "(" skipRestOfLine >> getAllBut "/" diff --git a/Plugins/PipeReader.hs b/Plugins/PipeReader.hs index 3886ec6..3fd0dd4 100644 --- a/Plugins/PipeReader.hs +++ b/Plugins/PipeReader.hs @@ -4,7 +4,7 @@ -- Copyright : (c) Andrea Rossato -- License : BSD-style (see LICENSE) -- --- Maintainer : Andrea Rossato <andrea.rossato@unibz.it> +-- Maintainer : Jose A. Ortega Ruiz <jao@gnu.org> -- Stability : unstable -- Portability : unportable -- diff --git a/Plugins/StdinReader.hs b/Plugins/StdinReader.hs index 0c075e6..2ee217e 100644 --- a/Plugins/StdinReader.hs +++ b/Plugins/StdinReader.hs @@ -4,7 +4,7 @@ -- Copyright : (c) Andrea Rossato -- License : BSD-style (see LICENSE) -- --- Maintainer : Andrea Rossato <andrea.rossato@unibz.it> +-- Maintainer : Jose A. Ortega Ruiz <jao@gnu.org> -- Stability : unstable -- Portability : unportable -- |