summaryrefslogtreecommitdiffhomepage
path: root/Plugins/Monitors/Common.hs
AgeCommit message (Collapse)Author
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