summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
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
2007-07-11Commands.hs: monitors take only one action nowAndrea Rossato
darcs-hash:20070711183131-d6583-785f3e62b8ef00537fa85ee94682d305cdfd008d.gz
2007-07-11Weather.hs: code clean upAndrea Rossato
darcs-hash:20070711182221-d6583-fe5690eacc540e209c3ccea2b17ad08a2db9f162.gz
2007-07-11config-sample: eyes candyAndrea Rossato
darcs-hash:20070711180630-d6583-6c829c6601704147bb4d5f4f4e7a6263786cb796.gz
2007-07-11more unused stuff removedAndrea Rossato
darcs-hash:20070711180437-d6583-d940a9da72ff525de591cac841813658b45514d0.gz
2007-07-11updated README to latest changesAndrea Rossato
darcs-hash:20070711165426-d6583-51c69a751f871ea3ea4aa94afd458024b5a79f83.gz
2007-07-11Net.hs: removed parserc. Now using list function to parseAndrea Rossato
Profiling shows that Net.hs and getNumbers specifically takes a huge ammount of resources. Hope to reduce them with this patch. darcs-hash:20070711165247-d6583-f56705720e012d5dc3a37d8e86a05145b819feb2.gz
2007-07-11removed from monitors code not used anymoreAndrea Rossato
darcs-hash:20070711165035-d6583-e556a6910bf8deb91677a5d590eb45f157a400d7.gz
2007-07-11Net.hs: removed old codeAndrea Rossato
darcs-hash:20070711164819-d6583-d9b68b002ba6033b34bc34735ab3a066b06fe568.gz
2007-07-11some colors please!Andrea Rossato
Krzysztof says that we cannot set default colors without embedding a Turing-complete language in the templates, so that we can take account of different unit of measurement. May I set some colors in the configuration example?? darcs-hash:20070711150221-d6583-73c159082843e2120c060aa50be65b58bb7fc9f4.gz
2007-07-11gettin' rid of Krzysztof's object-oriented attitude...;-)Andrea Rossato
darcs-hash:20070711150201-d6583-1d4d0c9677671416d80e83de9055bdc48c5dd4ed.gz
2007-07-10Formatting usedratio in Monitors.SwapKrzysztof Kosciuszkiewicz
darcs-hash:20070710141550-ba08c-383d0d84c0d8b31fae5b35e6b16070ba4d2e41f3.gz
2007-07-10Fix takeDigits so it doesn't use read.Krzysztof Kosciuszkiewicz
darcs-hash:20070710141406-ba08c-d44de14cd4aba85d042f5b7cd3be22469d994353.gz
2007-07-10Typos in Monitors.CommonKrzysztof Kosciuszkiewicz
darcs-hash:20070710141329-ba08c-9b99317a0fb64266c00531d9006d308ad258cfcd.gz
2007-07-10Clean up default options for monitors.Krzysztof Kosciuszkiewicz
* Moved default configuration to Monitors.Common * Colors are optional and are off by default darcs-hash:20070710140845-ba08c-86afb9d30e4b71ad48539510feabde650b1b6045.gz
2007-07-05Read default configuration from ~/.xmobarrcKrzysztof Kosciuszkiewicz
I am not sure if handling of other exceptions is acceptable, the assumption is that failure to read ~/.xmobarrc because of other errors than parsing should not blow up the whole program. Otherwise explicit test for file existence would be required etc. darcs-hash:20070705160320-ba08c-fb91db4583071f14d94eb5f2a25c92c7f1bfb7e3.gz
2007-07-09new working version and named colors in config-sampleAndrea Rossato
darcs-hash:20070709002947-d6583-404dd890e2ad9f6ff0115dfe4e1450f4ba369446.gz
2007-07-09comments onlyAndrea Rossato
darcs-hash:20070709001203-d6583-885a1e12b59937b9e4c8543d13edb7281f91ea81.gz
2007-07-09fixes a bug in the copyArea functionAndrea Rossato
darcs-hash:20070708234304-d6583-c5185f2af7d580c900c753c3feff41becaed2b80.gz
2007-07-09added a short-hand for fromintegral (much used here)Andrea Rossato
darcs-hash:20070708232338-d6583-3341a03f0095304183638d4a7bdc038063952231.gz
2007-07-09This should fix the flickering problem on window's updatesAndrea Rossato
darcs-hash:20070708224854-d6583-0300fb2f09da07c975b49c7ed75080ad29f2492a.gz
2007-07-08typoAndrea Rossato
darcs-hash:20070708183742-d6583-7f6950a40f550ba0566ecb8398ce29454e00def1.gz
2007-07-08editing to READMEAndrea Rossato
darcs-hash:20070708171330-d6583-fefb9b2bf38ba917980612c4b1b9dfb1b49b3443.gz
2007-07-08added info to Commands.hsAndrea Rossato
darcs-hash:20070708171309-d6583-599f801f185d27e47a5d3202720e3e787612bcd6.gz
2007-07-08updated to version 0.50.5Andrea Rossato
darcs-hash:20070708102459-d6583-8415c4b0c8f9114d37b9f4a60e7052e436f87ccf.gz
2007-07-08updated (I actually wrote some) documentation about configuring XMobarAndrea Rossato
darcs-hash:20070708102418-d6583-b28c63dc178696f9d9915f28f9effbcf176aa351.gz
2007-07-08hope this fixes the "flickering text" problem reported by KrzysztofAndrea Rossato
darcs-hash:20070708101702-d6583-95d021f3140ee5955d8438742a61b10115e2e8cd.gz
2007-07-08some monitors are now run internallyAndrea Rossato
darcs-hash:20070708101628-d6583-e37e08ad4f17993b2b1102efd3b71105f259dc01.gz
2007-07-08updated configurations to reflect code changesAndrea Rossato
darcs-hash:20070708101430-d6583-f58cc8c24166a2619b7712229da8e8343a8a4ea5.gz
2007-07-08the output template is now parsed with the help of a finite mapAndrea Rossato
This way we can quickly implement program name aliasing. darcs-hash:20070708101208-d6583-fa4f7f490020289e6f6b6fce0886223ec7924fa6.gz
2007-07-08monitors are now run internallyAndrea Rossato
darcs-hash:20070708101033-d6583-495a895544a1fc84d4d69f52a7f26dd42b6c8af4.gz