summaryrefslogtreecommitdiffhomepage
path: root/Plugins
AgeCommit message (Collapse)Author
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-03-16add XFT support and make UTF-8 support configurableAndrea Rossato
This patch includes many changes: - moved font and printing functions to XUtil.hs and created an abstraction layer to font management; - ported the core, StdinReader and PipeReader to the new font management system. To enable UTF-8 support configure with the "with_utf8" flag (requires utf8-string): runhaskell Setup.lhs configure --flags darcs-hash:20080316121100-d6583-828134da356b706744b56a9d81203129b0e8e484.gz
2008-02-27Date: haddock fixesAndrea Rossato
darcs-hash:20080227190051-d6583-1ed62c182e20c3a615a9af2706371ebe69862a0a.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
2008-02-16PipeReader: add utf8 supportAndrea Rossato
darcs-hash:20080216080421-d6583-347341c11af83ddc1c543832c5d524c13d4abd32.gz
2008-02-16StdinReader: add utf8 supportAndrea Rossato
darcs-hash:20080216080306-d6583-13891ea92ae2705fabc3221808a31fc11c6b4095.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-08StdinReader: exit when stdin has been closedSpencer Janssen
darcs-hash:20071107231028-a5988-6787dafbed6f6c81f52989710a326e40273c2b45.gz
2007-11-05Plugins/Monitors/Common.hs: fix a bug in stringParserAndrea Rossato
darcs-hash:20071105102354-d6583-90bb0950fe8bbe04090f6606068e251a4741b76c.gz
2007-11-04A new implementation of the position configuration optionAndrea Rossato
WARNING: this patch breaks previous configuration files. A new implementation of the position configuration option: - Top and Bottom have non arguments - TopW and BottomW have now 2 arguments: Align (L, C or R) and Int - setting a width % greater than 100 means a 100% width darcs-hash:20071104174551-d6583-adff505bf3929926554595180b8da1c7a0f9d0a5.gz
2007-11-04helloworld.config updated to recent changesAndrea Rossato
darcs-hash:20071104153244-d6583-b989418c68a3c5600476dc55c6081a5426caebed.gz
2007-11-04helloworld.config: updated to latest configuration changesAndrea Rossato
darcs-hash:20071104112106-d6583-2488a2a7007d5cafb7188338af544cb0b06caa93.gz
2007-10-28Added support for text alignment commands in the output templateAndrea Rossato
WARNING: this patch breaks old configuration files. - removed align configuration option - added alignSep configuration option, a 2 character string: the text before the first character will be align to left, the text in between the 2 characters will be centered, and the text after the second character will be align to the right. For instance: with alignSep darcs-hash:20071028214720-d6583-be3839c8989a8075f4b1c94dcbc351b499342370.gz
2007-10-28updated config-sample to latest changesAndrea Rossato
darcs-hash:20071028124034-d6583-3b5e6c52d3f9be1703a24b645a955c292da459e4.gz
2007-10-04Weather plugin: accept temperatures with decimal pointsSpencer Janssen
darcs-hash:20071004000348-a5988-9c568e8d696b344f66f42b0e0993e76f3c591632.gz
2007-10-03Date: now implemented using rate and runAndrea Rossato
darcs-hash:20071003142700-d6583-92b890f3badd136dacbfccdcb8b68550f3fff3c8.gz
2007-10-03HelloWorld defines only runAndrea Rossato
darcs-hash:20071003110743-d6583-00a55879b712ba4ec61ad69dd7c02dea77d1ca51.gz
2007-10-02updated helloworld.config-sample to latest changesAndrea Rossato
darcs-hash:20071002115319-d6583-d6bc478133345b0b5324cb538dedf0e2d460157c.gz
2007-09-28Added a plugin to read from stdinAndrea Rossato
Try it with: xmobar -t "%StdinReader%" -c '[Run StdinReader]' then start writing ;) darcs-hash:20070928120432-d6583-8b2a37548db9176c0dcfe7818c5de62722d889fb.gz
2007-09-28Removed unused rate methodAndrea Rossato
darcs-hash:20070928120413-d6583-9abe460d55a7e1782d425d624fb51d64d18b0615.gz
2007-09-27more cleanupAndrea Rossato
darcs-hash:20070927194026-d6583-21864b1e70ddf83144b7fdac9591d8eca2772025.gz
2007-09-27PipeReader: added a configurable aliasAndrea Rossato
darcs-hash:20070927175144-d6583-60d4a2e8923f3e8aea785283a796d52007cde3c3.gz
2007-09-27Monitors: updated to recent API changes - code formattingAndrea Rossato
darcs-hash:20070927173711-d6583-b7adaf52f8dac399b62556500236af1ed1db1a29.gz
2007-09-27HelloWorld: updated to recent API changesAndrea Rossato
darcs-hash:20070927173651-d6583-498f92a410459510b38e53dfbd582baf04bf0fd1.gz
2007-09-27Date: updated to recent API changesAndrea Rossato
darcs-hash:20070927173557-d6583-73e62f127050653aa83aa08d49af6de137bf26a6.gz
2007-09-27Added a plugin to read named pipes (such as an XMonad logger)Andrea Rossato
darcs-hash:20070927173529-d6583-e817ee89a436f2d6d8f3c888244c2cd9c2603546.gz
2007-09-15code formattingAndrea Rossato
darcs-hash:20070915163846-d6583-48788407f49843ad360de1a4d98ef1ebfdc31131.gz
2007-09-15Added a date pluginAndrea Rossato
darcs-hash:20070915140143-d6583-23480d0b6a3e05ec238f6cb5124aabce54306e6e.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-24./Plugins/Monitors.hs: corrected module informationAndrea Rossato
darcs-hash:20070724111019-d6583-084edc5c56e1ea20ce8fae76b94d9b2a44fe9d31.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-19oops, I forgot to add Monitors.hs (it's not possible to build xmobar without ↵Andrea Rossato
it!) darcs-hash:20070719054059-d6583-edd071165011c9cef6a3a8c0781e5f981a9f5903.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