summaryrefslogtreecommitdiffhomepage
path: root/Plugins/Monitors/Common.hs
AgeCommit message (Collapse)Author
2010-12-09Maintainer field in headers set to jaoJose Antonio Ortega Ruiz
2010-12-08CpuFreq: limit GHz values to one decimal digitJose Antonio Ortega Ruiz
Thanks to Petr Rockai
2010-12-08Default to False for the -P option and leave the % to the templatesJose Antonio Ortega Ruiz
2010-12-07New Monitor option to enable/disable '%' in displayed percentagesJose Antonio Ortega Ruiz
The option is -P, and takes either "True" (the default) or anything else to denote False.
2010-12-07LintingJose Antonio Ortega Ruiz
2010-12-07Fix for swap used ratio (issue 24)Jose Antonio Ortega Ruiz
Thanks to Dan Brown for pointing this out. I've applied a modified version of his patch (inclusion of % will be treated separately).
2010-03-20Bars for DiskIOJose A Ortega Ruiz
Ignore-this: 50ae0b5d07377a8563acdede4dba31cf darcs-hash:20100320020848-748be-4c1b8f64b056f026328348a3eb8ca6f367544285.gz
2010-03-19Bar background, foreground and width configurableJose A Ortega Ruiz
Ignore-this: 24bcec9b7517ddc1ff09bc0546be9170 darcs-hash:20100319212604-748be-cb7f31058ba6cf2f83de00fa8eedd5f84e615f60.gz
2010-03-19Usage barsJose A Ortega Ruiz
Ignore-this: 63fd21a117029674e33a9c4419dbc4de ASCII art bars for a bunch of monitors. darcs-hash:20100319203324-748be-2f927aa0e16d8874e10a04f0245427d32e0e53ce.gz
2010-02-22Wireless monitor: better boundary checksJose A Ortega Ruiz
Ignore-this: cfb69e10b2eaff6924a2df32b1e51bf0 darcs-hash:20100222144226-748be-f28cbe827c89238074448b23da7ba606f930ceb9.gz
2010-02-14Protect against IO failres in MBoxJose A Ortega Ruiz
Ignore-this: cd42eea2c51ae7fa959319be6463da14 darcs-hash:20100214175647-748be-5b24058b89f149b5d4a454eea8ff5933469f9482.gz
2010-02-12New monitor argument to set both max and min widths (-w)Jose A Ortega Ruiz
Ignore-this: 27650f63b928ee0ae2bf4d4bf19919e5 darcs-hash:20100212003829-748be-c8d9c4bdc4e8b42f6a929f16d1c4aafc65421ec0.gz
2010-02-11First stab at top monitorsJose A Ortega Ruiz
Ignore-this: c89a13a99236d416cba2ba285099a2d7 darcs-hash:20100211003857-748be-76b55377cc1c2793711bc4003619dd366af0aa5c.gz
2010-02-04New DiskU and DiskIO monitorsJose A Ortega Ruiz
Ignore-this: b72a9ad54c9ae478f2c3fbdcda4d26c8 New monitors for disk usage and throughput, replacing Disk. darcs-hash:20100204015455-748be-41e03ee9dff0e3e9e3725aae8a3e07c6facb70dc.gz
2010-01-21New options in Monitors (padding and width)Jose A. Ortega Ruiz
Ignore-this: c49cd3f7a80073e897cddaab88143f56 Maximum/minimum field width, padding characters and padding alignment can now be specified as options (-M, -m, -c, -a). darcs-hash:20100121123111-40885-dfc41e464920fe667981ff16507dc8ace5dfa6c9.gz
2010-01-20New Monitor option to specify minimum percentage widthJose A. Ortega Ruiz
Ignore-this: 5e0413c218f257c0db06f83665bd2e5 The new option, -p, is a number specifying how many characters the numerical part of percentages should take. Padding consists of whitespace. E.g. -p 3 makes '3%' appear as ' 3%'. The default value is 0, which means padding is disabled. darcs-hash:20100120215608-40885-2c2ac6718af740971dad491eea92947bae840163.gz
2010-02-09Monitors: display exceptionsAndrea Rossato
Ignore-this: 46f86b3dcf9f41ec35a904e97e96013a656b08d5 darcs-hash:20100209104236-d6583-4f1dbcb4d0ab702c742e73677a955d9f600a1d61.gz
2009-11-02Since ACPI reads can be slow, use a helper /bin/cat process to perform themsvein.ove
Ignore-this: ae34afa8524d6cfb6baab8eb6c3a3b85 darcs-hash:20091102173811-f57bf-470bb638c0c64ddc093c2238d600772525035ea0.gz
2008-09-17Don't show tenths of itemsJohn Goerzen
This is more precision than needed for CPU, Mem, Swap, etc. and consumes valuable space on small devices darcs-hash:20080917025306-c2a52-abfb2791f165d7f922438dfbc80507609b10e6e4.gz
2009-10-11Support for base 4 without base-3 compatibilityAdam Vogt
Ignore-this: 6846a123ade5dc1164841e62beabbf71 darcs-hash:20091011015618-1499c-f91811df4a05f6e4d236faaa5f4b4050613253e1.gz
2009-03-18Allow color markup in monitor output templatesnzeh
With this patch, colors can be included in the output template of a monitor. E.g., ["-t", "TX <fc darcs-hash:20090318225152-c6b6b-54a807a7f88612b89fdbf7e0ba5ecc0336a5cfa1.gz
2008-11-20Catch exceptions from monitors, should fix problems with cpufreqSpencer Janssen
Ignore-this: 175b1d160eaaff1f2f2a2290d514f76e darcs-hash:20081120120606-a5988-a89f879723460fa8691b8a035c667e41d947bfcd.gz
2007-11-05Plugins/Monitors/Common.hs: fix a bug in stringParserAndrea Rossato
darcs-hash:20071105102354-d6583-90bb0950fe8bbe04090f6606068e251a4741b76c.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-07-24Monitors.Common: parseString must use ByteStringsAndrea Rossato
darcs-hash:20070724203554-d6583-2efe004eea4fbee1a27489870907ee657caba9fb.gz
2007-07-24Monitors.Commons: more code cleanupAndrea Rossato
darcs-hash:20070724142205-d6583-b2251fb6c400a6f9a8636f9f8ef5a3993594262e.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-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