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