Age | Commit message (Collapse) | Author |
|
darcs-hash:20070712180434-d6583-99f6807f0deb0141014593f27356a69e69305d0e.gz
|
|
darcs-hash:20070712180405-d6583-f02e36e3d0495316ae2672c04397e915bfff7c33.gz
|
|
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
|
|
darcs-hash:20070711183131-d6583-785f3e62b8ef00537fa85ee94682d305cdfd008d.gz
|
|
darcs-hash:20070711182221-d6583-fe5690eacc540e209c3ccea2b17ad08a2db9f162.gz
|
|
darcs-hash:20070711180630-d6583-6c829c6601704147bb4d5f4f4e7a6263786cb796.gz
|
|
darcs-hash:20070711180437-d6583-d940a9da72ff525de591cac841813658b45514d0.gz
|
|
darcs-hash:20070711165426-d6583-51c69a751f871ea3ea4aa94afd458024b5a79f83.gz
|
|
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
|
|
darcs-hash:20070711165035-d6583-e556a6910bf8deb91677a5d590eb45f157a400d7.gz
|
|
darcs-hash:20070711164819-d6583-d9b68b002ba6033b34bc34735ab3a066b06fe568.gz
|
|
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
|
|
darcs-hash:20070711150201-d6583-1d4d0c9677671416d80e83de9055bdc48c5dd4ed.gz
|
|
darcs-hash:20070710141550-ba08c-383d0d84c0d8b31fae5b35e6b16070ba4d2e41f3.gz
|
|
darcs-hash:20070710141406-ba08c-d44de14cd4aba85d042f5b7cd3be22469d994353.gz
|
|
darcs-hash:20070710141329-ba08c-9b99317a0fb64266c00531d9006d308ad258cfcd.gz
|
|
* Moved default configuration to Monitors.Common
* Colors are optional and are off by default
darcs-hash:20070710140845-ba08c-86afb9d30e4b71ad48539510feabde650b1b6045.gz
|
|
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
|
|
darcs-hash:20070709002947-d6583-404dd890e2ad9f6ff0115dfe4e1450f4ba369446.gz
|
|
darcs-hash:20070709001203-d6583-885a1e12b59937b9e4c8543d13edb7281f91ea81.gz
|
|
darcs-hash:20070708234304-d6583-c5185f2af7d580c900c753c3feff41becaed2b80.gz
|
|
darcs-hash:20070708232338-d6583-3341a03f0095304183638d4a7bdc038063952231.gz
|
|
darcs-hash:20070708224854-d6583-0300fb2f09da07c975b49c7ed75080ad29f2492a.gz
|
|
darcs-hash:20070708183742-d6583-7f6950a40f550ba0566ecb8398ce29454e00def1.gz
|
|
darcs-hash:20070708171330-d6583-fefb9b2bf38ba917980612c4b1b9dfb1b49b3443.gz
|
|
darcs-hash:20070708171309-d6583-599f801f185d27e47a5d3202720e3e787612bcd6.gz
|
|
darcs-hash:20070708102459-d6583-8415c4b0c8f9114d37b9f4a60e7052e436f87ccf.gz
|
|
darcs-hash:20070708102418-d6583-b28c63dc178696f9d9915f28f9effbcf176aa351.gz
|
|
darcs-hash:20070708101702-d6583-95d021f3140ee5955d8438742a61b10115e2e8cd.gz
|
|
darcs-hash:20070708101628-d6583-e37e08ad4f17993b2b1102efd3b71105f259dc01.gz
|
|
darcs-hash:20070708101430-d6583-f58cc8c24166a2619b7712229da8e8343a8a4ea5.gz
|
|
This way we can quickly implement program name aliasing.
darcs-hash:20070708101208-d6583-fa4f7f490020289e6f6b6fce0886223ec7924fa6.gz
|
|
darcs-hash:20070708101033-d6583-495a895544a1fc84d4d69f52a7f26dd42b6c8af4.gz
|
|
darcs-hash:20070708100320-d6583-0ec0ec78a84313390467e6596239421d022a2863.gz
|
|
darcs-hash:20070708100148-d6583-a9f7983de441caeccc341c15a7029102e20eaa7b.gz
|
|
darcs-hash:20070708100120-d6583-1db3f135af0e31652c0f62f974f8f52f9845ea18.gz
|
|
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
|
|
If bad color name is specified then exception is thrown by Xlib.
This should be probably handled in a more elegant way.
darcs-hash:20070706010124-ba08c-86d9d978d9f86348f552a1e2ebbdec18b21ff271.gz
|
|
darcs-hash:20070706024814-ba08c-f6e828e21a3d20af358819e3cb6a13c29a4ff28e.gz
|
|
darcs-hash:20070705204721-d6583-cd953c43b45c0cdf25fb1bac5d3e7b2d818fd16a.gz
|
|
darcs-hash:20070705152815-ba08c-f5840daee9eeeae5eda5d37c9188583537c58583.gz
|
|
darcs-hash:20070705150407-ba08c-5e715b2b1a92aae76bac209c7795ea728e437564.gz
|
|
darcs-hash:20070705132427-d6583-ae95100b76bdec257b75b3d99191e1628240d00e.gz
|
|
darcs-hash:20070705132221-d6583-7d6f654cb92e408a39aca22281a80e291e440963.gz
|
|
darcs-hash:20070705132145-d6583-01e04d0916bf2546b549b59b84a83a937611d9f2.gz
|
|
darcs-hash:20070705132115-d6583-04455061bc7d9d5d3fcf326b55ed1ca1b138a5f4.gz
|
|
darcs-hash:20070705132022-d6583-c0419e16963b67bcb2385804a6f67a39e7b98de9.gz
|
|
darcs-hash:20070705131949-d6583-b9f1ebb8b27f2de5d0b694b596375050629cc24a.gz
|
|
darcs-hash:20070705131915-d6583-c3558ac652f23ac5ae7f358c03f93653128c1efd.gz
|
|
darcs-hash:20070705131835-d6583-28c2adda79566de3740effea515d12cdda86854f.gz
|