summaryrefslogtreecommitdiffhomepage
path: root/Plugins/Monitors
AgeCommit message (Collapse)Author
2009-01-30wraning fix in Plugins.Monitors.CoreCommonAndrea Rossato
Ignore-this: 5121b9fc93d1f6db6ff825a638c2d580 darcs-hash:20090130165325-d6583-e65fb88f6e41c0f9d94e8a1e499f7c0cf46b476e.gz
2009-01-28Workaround for ghc-6.10.1 bug + cleanupJuraj Hercek
Ignore-this: ee8d4e0e29796729d55b90eddf481af1 darcs-hash:20090128161846-69f16-a10f8397ef030ca6ee7be27a24dd6f6252361960.gz
2008-11-20Catch exceptions from monitors, should fix problems with cpufreqSpencer Janssen
Ignore-this: 175b1d160eaaff1f2f2a2290d514f76e darcs-hash:20081120120606-a5988-a89f879723460fa8691b8a035c667e41d947bfcd.gz
2008-04-29Weather: close handles when successfully retrieving the dataAndrea Rossato
darcs-hash:20080429102944-d6583-434595c6b2d189fa89fd18bdf763f422754ec147.gz
2008-04-29styleAndrea Rossato
darcs-hash:20080429102848-d6583-54a5167beb89b3e330012b2f92e786e6f456cbe6.gz
2008-03-16Add BatteryP a monitor for batteriesAndrea Rossato
With this monitor is possible to set specific location where to retrieve battery information. For example: Run BatteryP ["BAT0","BAT1","BAT2"] [] 10 this will read the following files: /proc/acpi/battery/BAT0/info and /proc/acpi/battery/BAT0/state /proc/acpi/battery/BAT1/info and /proc/acpi/battery/BAT1/state /proc/acpi/battery/BAT1/info and /proc/acpi/battery/BAT2/state darcs-hash:20080316160115-d6583-efd35abf7a6a1a40fcb5f97ec430783f40b3221d.gz
2008-02-16Adjusted filter used for digging out information from /sys directoryJuraj Hercek
- As of 2.4.24 kernel you might experience same frequency for all cores, because cpufreq directory is a link for cores 1 and higher darcs-hash:20080216160650-f49a6-455bdfa46154350d723759d7175629892b284e0e.gz
2007-12-23Added documentation.Juraj Hercek
- added Thermal, CoreTemp, CpuFreq documentation to README file - added haddock documentation darcs-hash:20071222231419-f49a6-beadaa214bd80a9eb12f568dbff8dcf0d88ecfe7.gz
2007-12-23Adjusted thermal monitor.Juraj Hercek
- Thermal monitor can handle more thermal zones now darcs-hash:20071222231039-f49a6-0a8a2f7d575f7e82adbd9b3ee261d046e616dc07.gz
2007-11-30Added thermal, cpufreq and coretemp monitors.Juraj Hercek
Prerequisities: thermal - thermal module should be loaded/compiled in kernel - available in (at least) intel centrino processors cpufreq - acpi_cpufreq module should be loaded/compiled in kernel - available in modern processors coretemp - coretemp module should be loaded/compiled in kernel - available (at least) in core 2 duo processors darcs-hash:20071130205430-f49a6-0ff042af60c91416fd8dd8190cbd9022bcabb269.gz
2007-11-15Now that a cold winter is approaching I added a new feature to Weather: the ↵Andrea Rossato
capacity of reading negative temperature. This feature is generally not needed in Summertime. darcs-hash:20071115134905-d6583-a785fbbf0fa9aa49fbf0ba4e230e93ce013748ad.gz
2007-11-05Plugins/Monitors/Common.hs: fix a bug in stringParserAndrea Rossato
darcs-hash:20071105102354-d6583-90bb0950fe8bbe04090f6606068e251a4741b76c.gz
2007-10-04Weather plugin: accept temperatures with decimal pointsSpencer Janssen
darcs-hash:20071004000348-a5988-9c568e8d696b344f66f42b0e0993e76f3c591632.gz
2007-09-27Monitors: updated to recent API changes - code formattingAndrea Rossato
darcs-hash:20070927173711-d6583-b7adaf52f8dac399b62556500236af1ed1db1a29.gz
2007-09-12Parse the temperature separately in Celcius and Fahrenheit.Jens Petersen
Parse the pressure in hPa. Generalize showWithColors to (Num a, Ord a) so it works for both Int's and Float's. Use an Int for temperature, pressure, and relative humidity. darcs-hash:20070912070949-740ef-0e79d57888c1519e1324d06b17fe2fa0d3d0fb2d.gz
2007-09-12only use 1 decimal place for showing floating numbersJens Petersen
darcs-hash:20070912065803-740ef-209c2cf47f371f163f1fa0db60d6838f7190f60c.gz
2007-09-12include BAT0 acpi battery status tooJens Petersen
darcs-hash:20070912065420-740ef-41785bf4355e312f735e9c6de26649c0ef5699b0.gz
2007-08-27Plugins.Swap: check for SwapFree and SwapTotalAndrea Rossato
In some system SwapFree and SwapTotal are in different position, so we need to check for the string. Reported by Stan Behrens darcs-hash:20070827105902-d6583-d0d1bd5341299759f2e600bd4173bfcb278dec40.gz
2007-07-24Monitors.Common: parseString must use ByteStringsAndrea Rossato
darcs-hash:20070724203554-d6583-2efe004eea4fbee1a27489870907ee657caba9fb.gz
2007-07-24Batt: we check if the file exists instead of catching an exceptionAndrea Rossato
darcs-hash:20070724170643-d6583-85533ce12993f9de7582b776e8d8644ac541ab81.gz
2007-07-24Monitors.Commons: more code cleanupAndrea Rossato
darcs-hash:20070724142205-d6583-b2251fb6c400a6f9a8636f9f8ef5a3993594262e.gz
2007-07-24Batt: better error handlingAndrea Rossato
darcs-hash:20070724114047-d6583-3006b98cf7421b40d1723047ea3c7fc89136ce7b.gz
2007-07-24Batt.hs: refactor to reduce resource usageAndrea Rossato
darcs-hash:20070724094402-d6583-3dcd0ad09f538cfa4d34ff7ad636e8b179866500.gz
2007-07-24Monitors.Common: parseString will not produce exceptions anymoreAndrea Rossato
An empty string will be returned instead. darcs-hash:20070724092701-d6583-aa7c76ce3c38f93415c05b5afd86618b4aad6f71.gz
2007-07-23the normal color is set when normal > lowAndrea Rossato
darcs-hash:20070723114936-d6583-1ade1b12fa6aed40aab2a07f51f1949fb298778b.gz
2007-07-19Moved battery line parsing into the Maybe monad.Krzysztof Kosciuszkiewicz
darcs-hash:20070719101505-ba08c-99b2005230d97d19f73c7dfdb7ba328bc4046063.gz
2007-07-19Safer parsing without parsec in battery monitorKrzysztof Kosciuszkiewicz
darcs-hash:20070719015530-ba08c-065e9572b186c12db8236c28fa249793eba51e32.gz
2007-07-16Fix parsing and processing data in Batt monitor.Krzysztof Kosciuszkiewicz
Sometimes the monitor would crash due to bad index given to (!!). Now it should be safe, as parsing is done differently. darcs-hash:20070716003448-ba08c-4ae93a39919c2aee628825e5a9f7da8970dbcb8c.gz
2007-07-12Get rid of floats in scientific notation.Krzysztof Kosciuszkiewicz
Use 'showDigits n' instead of 'show . takeDigits n'. As this example shows explicit precision specifications would be appreciated ;) darcs-hash:20070712013626-ba08c-868a9d53ab1b8bc120d7c1a9634d3d8c7cb599d7.gz
2007-07-12Allow reverse "high" and "low" thresholdsKrzysztof Kosciuszkiewicz
darcs-hash:20070712010911-ba08c-adf596c43d2f8ad049449dfef96d7e00758baae8.gz
2007-07-18Monitors are now a Plugin that can be removed from Config.hsAndrea Rossato
darcs-hash:20070718151211-d6583-7e0e49c22d07feda72d03370fd592c196dfcc9c1.gz