xmobar-0.32: A Minimalistic Text Based Status Bar

Copyright(c) Andrea Rossato
LicenseBSD-style (see LICENSE)
MaintainerJose A. Ortega Ruiz <jao@gnu.org>
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell98

Xmobar.Plugins.Monitors.Weather

Description

A weather monitor for Xmobar

Documentation

weatherConfig :: IO MConfig Source #

data WindInfo Source #

Constructors

WindInfo 

Fields

Instances
Show WindInfo Source # 
Instance details

Defined in Xmobar.Plugins.Monitors.Weather

Methods

showsPrec :: Int -> WindInfo -> ShowS

show :: WindInfo -> String

showList :: [WindInfo] -> ShowS

data WeatherInfo Source #

Constructors

WI 

Fields

Instances
Show WeatherInfo Source # 
Instance details

Defined in Xmobar.Plugins.Monitors.Weather

Methods

showsPrec :: Int -> WeatherInfo -> ShowS

show :: WeatherInfo -> String

showList :: [WeatherInfo] -> ShowS

pTime :: Parser (String, String, String, String) Source #

pTemp :: Parser (Int, Int) Source #

pRh :: Parser Int Source #

pPressure :: Parser Int Source #

defUrl :: String Source #

stationUrl :: String -> String Source #

getData :: String -> IO String Source #

formatSk :: Eq p => [(p, p)] -> p -> p Source #

formatWeather :: [(String, String)] -> [WeatherInfo] -> Monitor String Source #

runWeather :: [String] -> Monitor String Source #

runWeather' :: [(String, String)] -> [String] -> Monitor String Source #

weatherReady :: [String] -> Monitor Bool Source #