summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2007-07-24loadQueryFont must be protected by catchAndrea Rossato
Expecially now that fonts can be easily choose with a command line options. darcs-hash:20070724173047-d6583-30c6a0a1315216cb21e3132c64448e01bd846de2.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-24Config.hs: removed %memory%" from default templateAndrea Rossato
darcs-hash:20070724133244-d6583-1e9ec2fb8f08bbb4ec2a2cdc36f520191a542886.gz
2007-07-24README: some more editingAndrea Rossato
darcs-hash:20070724131658-d6583-957b9070c8a4478af76b79f20b91817b5641fb05.gz
2007-07-24if an invalid color name or value is given the black pixel will used insteadAndrea Rossato
darcs-hash:20070724125120-d6583-c56837a2e85eb505ce2cc7d9462d5f4471afa302.gz
2007-07-24README: added an example of command line options usageAndrea Rossato
darcs-hash:20070724120131-d6583-a9b6fc5ea05d78b758dd20f54b05539a00463300.gz
2007-07-24better error handling in Main.hsAndrea Rossato
darcs-hash:20070724120106-d6583-0a4a02d25dddcf0c005a295db06e4a009851292d.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-24README: added download informationAndrea Rossato
darcs-hash:20070724110541-d6583-83e3b9c42c36e744a8c402d2ac765fb431b1e3c5.gz
2007-07-24changed home page to http://gorgias.mine.nu/xmobar/Andrea Rossato
darcs-hash:20070724102226-d6583-5ddf159c9a7ce98c2bbe5e9df26f0d84c2853ad6.gz
2007-07-24README: updated to latest changesAndrea Rossato
darcs-hash:20070724101322-d6583-2e406432f1165088cc5cadfb8d4ba52cfec42cc8.gz
2007-07-24The help output must be visible in a terminal 80 characters wideAndrea Rossato
darcs-hash:20070724100029-d6583-f6d5a1232868466b65a73c5769accfda5fe9d4fc.gz
2007-07-24code and output cleanupAndrea Rossato
darcs-hash:20070724094435-d6583-dec41cb61e2f547ae45835873aadcbb0fc21dd8e.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-24Main.hs: removed exceptionAndrea Rossato
Check for default configuration file existence instead. darcs-hash:20070724092551-d6583-5067ca0bf7b95ef3afe846b008cca1077fecc569.gz
2007-07-23Added support for command line optionsAndrea Rossato
Configuration options will override configuration files, or default configuration. darcs-hash:20070723200852-d6583-fe71bf299e42360d02b8df8699917e1474ebc88a.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-20X code cleanupAndrea Rossato
darcs-hash:20070720113917-d6583-cabe8d1a6d1d52da01b421099e4d74c1a0fb539e.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
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
2007-07-18Use asynchronous exceptions to obviate the need for forkOS and threadedSpencer Janssen
darcs-hash:20070717225131-a5988-1f5e0cb3c8373b5eb6f7e87496110409380ded23.gz
2007-07-17execCommands is a mapMSpencer Janssen
darcs-hash:20070717211138-a5988-1ce4ccefb8b6468fc63ca8b98564881536ca60c2.gz
2007-07-17threads are now started with forkOSAndrea Rossato
This is required by the fact that calling nextEvent will block all other running threads. So we need forkOS, which requires the -threaded ghc flag darcs-hash:20070717171307-d6583-b102fecf51ee4c275f448644c0d2b0fe15fa0062.gz
2007-07-17cabal: corrected x11-extras version numberAndrea Rossato
darcs-hash:20070717161200-d6583-9bd78e57c05d2bb5b248cba6bd4e7f6f754b8db3.gz
2007-07-17XEvents code cleanupAndrea Rossato
darcs-hash:20070717160756-d6583-501e3bd632b7d3d37a8695231333fc69054e0398.gz
2007-07-17XExposeEvent handling: that requires X11-extrasAndrea Rossato
XExposeEvent is now properly (sort of) handled, with an hackish approch: before nextEvent, that will block Xmobar since an Expose event is captured, we create a background thread that will send an Expose event after the configured refresh interval. So, either a real of a fake Expose event will reach our window within the configured interval. Quite cool, after all. darcs-hash:20070717131411-d6583-0d3438bdcb1d346ade3932ffb979cb998654e4d1.gz
2007-07-17changed runXmobar to runXbarAndrea Rossato
darcs-hash:20070717091438-d6583-cd772f86e2296bf7de4780425819d3d04d502a6e.gz
2007-07-14README and Cabal editsAndrea Rossato
Added some more credits, corrected typos, updated darcs version to 0.7, changed name to Xmonbar and removed references to XMonad. Xmobar is now just a minimalistic text based status bar for any kind of WM (the XMonad community adopted the more advanced and stable dzen, after all ;-) darcs-hash:20070714103913-d6583-b143dedf4ed5cbcb59b4f630ffce9afe82e32b86.gz
2007-07-13haddock tuningAndrea Rossato
darcs-hash:20070713123707-d6583-b236b40087a92c45511afb3e4350813917515c02.gz
2007-07-13cabal: added Plugins to the list of modulesAndrea Rossato
darcs-hash:20070713111302-d6583-65e5fb0e83aae6511ac990f8f9b7886efe480225.gz
2007-07-13Plugins.hs: some haddock correctionsAndrea Rossato
darcs-hash:20070713111229-d6583-9f935f51431cd4f748be95111aed88c8b6dbaa0b.gz
2007-07-13README: updated to the latest changesAndrea Rossato
darcs-hash:20070713111148-d6583-8cb7a42db6c72e9cac160565fa4a61f2ce1d680c.gz
2007-07-13Config.hs: more code cleanupAndrea Rossato
darcs-hash:20070713101329-d6583-66db78de40afea1eb529919c44560ccf52a0acd1.gz
2007-07-13Runnable: cleanup and some commentsAndrea Rossato
darcs-hash:20070713093647-d6583-b26a258b1a30a787bb333ebf3782ee74c10d585c.gz
2007-07-13added Plugins.hs for exporting the needed plugin APIAndrea Rossato
darcs-hash:20070713093613-d6583-ff3b5c080757cfd123f7f02e00612ef9bea0ab44.gz
2007-07-13Plugins now import Plugins.hsAndrea Rossato
darcs-hash:20070713093516-d6583-f05f2e5b4edd87a75063b881e622b5a3784ab4c9.gz
2007-07-13Commands.hs: more code cleanupAndrea Rossato
darcs-hash:20070713093402-d6583-eff0382e0c9bb69bd7d45be1b4691bd50f55f776.gz
2007-07-12removed the Show instance requirement for pluginsAndrea Rossato
darcs-hash:20070712215615-d6583-463ad3d9d1282fd1f129f34f405c66e0795962fd.gz
2007-07-12cabal updatesAndrea Rossato
darcs-hash:20070712180516-d6583-ccc0f2e99bedcb1b1b783b02048ca31dd8793053.gz
2007-07-12added a plugin example with the needed runtime configuration fileAndrea Rossato
darcs-hash:20070712180434-d6583-99f6807f0deb0141014593f27356a69e69305d0e.gz
2007-07-12credits to Claus Reinke and removed debugging codeAndrea Rossato
darcs-hash:20070712180405-d6583-f02e36e3d0495316ae2672c04397e915bfff7c33.gz
2007-07-12use of existential types for plugin supportAndrea Rossato
This patch, which *changes the configuration format*, adds easy plugin support by using an existential type for storing the list of commands to be executed. Adding a plugin is just a matter of writing the appropriate instance of the Exec class, after importing Commands.hs. I must thank Claus Reinke for the help in understanding the mysteries of reading existential types. The Read instance of Runnable must be credited to him. See here: http://www.haskell.org/pipermail/haskell-cafe/2007-July/028227.html darcs-hash:20070712175034-d6583-f10174bb3b0a9b4f6e08d05052c18f30e539b319.gz