summaryrefslogtreecommitdiffhomepage
path: root/Commands.hs
AgeCommit message (Collapse)Author
2009-10-11Support for base 4 without base-3 compatibilityAdam Vogt
Ignore-this: 6846a123ade5dc1164841e62beabbf71 darcs-hash:20091011015618-1499c-f91811df4a05f6e4d236faaa5f4b4050613253e1.gz
2009-01-29fix warning in Commands.hsAndrea Rossato
Ignore-this: 1914e04ea85fe033631c19085f94c477 darcs-hash:20090129152704-d6583-0c174f55f48b2dc0fe0ce9324c58b12a8be79e00.gz
2009-01-25handle successful commands with empty outputdaniel
Ignore-this: dbf3cac5cd8130bdf186e3487e5915ce darcs-hash:20090125164724-c98ca-24f6b13ccacc41c07a029b5b0e817307069b145b.gz
2008-12-07Unicode support for ComRoman Cheplyaka
darcs-hash:20081207105822-3ebed-cc1046bbed0af9aa04675a17435e58453a374c34.gz
2008-04-29style, pointfree and trailing spaces0.9_releaseAndrea Rossato
darcs-hash:20080429125953-d6583-02a6653c15d3166ad264c45ec44082bdae30260e.gz
2007-10-03Reintroduced rate with a default implementation (1 second) to be used in the ↵Andrea Rossato
default implementation of start darcs-hash:20071003142549-d6583-7866ef3df79502568920c3d0b839dbb5bdb31fc8.gz
2007-10-03reintroduced run as an Exec method: this way it is possible to write plugins ↵Andrea Rossato
by defining either run or start darcs-hash:20071003110609-d6583-68205f8664c81ff7e3349ee67d32ffd4f91881b1.gz
2007-09-28Removed unused rate methodAndrea Rossato
darcs-hash:20070928120218-d6583-3a0f314e02ef4a3943cc8d0fe45c5af0b446871d.gz
2007-09-27API change in the Exec classAndrea Rossato
Changed run :: a -> IO String to start :: a -> (String -> IO ()) -> IO () Suggested by Spencer Janssen. darcs-hash:20070927172506-d6583-7174784a7c9a4b317226fb28a2677157cce2e61f.gz
2007-07-24code and output cleanupAndrea Rossato
darcs-hash:20070724094435-d6583-dec41cb61e2f547ae45835873aadcbb0fc21dd8e.gz
2007-07-18Monitors are now a Plugin that can be removed from Config.hsAndrea Rossato
darcs-hash:20070718151211-d6583-7e0e49c22d07feda72d03370fd592c196dfcc9c1.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-13Commands.hs: more code cleanupAndrea Rossato
darcs-hash:20070713093402-d6583-eff0382e0c9bb69bd7d45be1b4691bd50f55f776.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-08added info to Commands.hsAndrea Rossato
darcs-hash:20070708171309-d6583-599f801f185d27e47a5d3202720e3e787612bcd6.gz
2007-07-08added CommandsAndrea Rossato
Command is the data type for configuring command execution in XMobar. The idea came in a discussion with Spencer Janssen. At first XMobar was intended to be used only to display the output of external commands, but it came clear that the main performance bottle neck was running external programs. Now, some monitors are run internally, even if in separated threads. darcs-hash:20070708095521-d6583-ba7f21af7c50c5055c9d1a7e6efe9219e6aa21f2.gz