summaryrefslogtreecommitdiffhomepage
path: root/Main.hs
AgeCommit message (Collapse)Author
2010-02-09update my emailAndrea Rossato
Ignore-this: afbb205e54c523b9f091d4495f9ba176dd3db971 darcs-hash:20100209094548-d6583-024d9319483e56a4482ce5fb705951097c33ec83.gz
2010-02-06get rid of action-permutations and use parsec permutation library insteadAndrea Rossato
Ignore-this: 73dbcd588c961bd8bb4dd6d0c931cb3760e2949e code gets shorter and error messages maybe meaningful darcs-hash:20100206003909-d6583-631e1c5e75ad7e7334f865828b398f4d2310af5a.gz
2009-09-23Output to stdout whenever fields are defaulted in a config.Adam Vogt
Ignore-this: 3bf71f10543f14aa17b6b403480bcdde This is done without a command line flag, but perhaps it should be. darcs-hash:20090923022835-1499c-d05af3db7816672e8a8cb4987215dcc3f9a96947.gz
2009-09-14Parse config file more intelligently.Adam Vogt
Ignore-this: 9d6cd7536b6df73f3af44b7a74b826a1 Using parsec and action-permutations, config options may be permuted or left out (to be replaced by the default configuration option). This patch improves forwards compatibility with xmobar (ex. the addition of lowerOnStart broke many configs), and provides some help to find typos in the config. The commands section is still parsed with Read however. darcs-hash:20090914023921-1499c-b73a792ccfafd50d31878e35f928facb50748531.gz
2009-04-20Add command line option for picking a screenAdam Vogt
Ignore-this: 5d9ddc7847f9000346b2ad18f95262db darcs-hash:20090420003639-1499c-17fada63bc113031eee5cd1b87d3aea520b380df.gz
2009-04-11bump version0.9.2Andrea Rossato
Ignore-this: 90a227f6d7dfb7a4b612c58e1948bcf5 darcs-hash:20090411104518-d6583-28c1042cd197dee7b4b3a8f18525a1a5f49cb881.gz
2008-04-29email address, copyright date and moreAndrea Rossato
darcs-hash:20080429103242-d6583-1343ca2c33a7a073924378f208f8e6a7d2ad9282.gz
2008-03-18Automate version generationAndrea Rossato
darcs-hash:20080318101858-d6583-e7b948d5683a6cab390626d7874a6dabfa3a9ae5.gz
2008-03-16add XFT support and make UTF-8 support configurableAndrea Rossato
This patch includes many changes: - moved font and printing functions to XUtil.hs and created an abstraction layer to font management; - ported the core, StdinReader and PipeReader to the new font management system. To enable UTF-8 support configure with the "with_utf8" flag (requires utf8-string): runhaskell Setup.lhs configure --flags darcs-hash:20080316121100-d6583-828134da356b706744b56a9d81203129b0e8e484.gz
2008-02-16add utf8 support to the core systemAndrea Rossato
darcs-hash:20080216080151-d6583-367d1e30dba8744259e35db87d3edae8dcc27950.gz
2007-11-18Typo fixesAlexander Solovyov
darcs-hash:20071118120723-295dc-97ae59fd7979c054311f6cae495b56ddb712a09e.gz
2007-11-04Preserve backward compatibilityAndrea Rossato
WARNING: this patch changes the configuration file This patch reintroduces backward compatibility with recent changes in the configuration option. Now Top and Bottom do not take any argument. To set the width and alignment used TopW (Align Int) and BottomW (Align Int) instead, where Align is either C, L or R. darcs-hash:20071104152626-d6583-a5ee9d7f1e20b33e47b902d11267fb6d2e623483.gz
2007-11-04Added an argument to Top and Bottom type contructorsAndrea Rossato
darcs-hash:20071104111655-d6583-c82d8774eba9939e2c25020a93379227c9934993.gz
2007-10-28Main: removed align and added alignSep configuration optionAndrea Rossato
darcs-hash:20071028215515-d6583-35ab1241f1f285d5e029eb3c0542f8f66d74f059.gz
2007-10-28Main: removed old options and added the new onesAndrea Rossato
darcs-hash:20071028131910-d6583-9d43bf3c1764856081a476d8f42dca1657667f23.gz
2007-10-28We must listen for ConfigureNotify events on the root window for xrandrSpencer Janssen
darcs-hash:20071027220550-a5988-c00d4bba8555aadea921c5bbedc16f21cc1b4672.gz
2007-10-27Bump version to 0.8Andrea Rossato
darcs-hash:20071027111032-d6583-5ca8b1987d786d6a796dedef28148fb0395cbffd.gz
2007-10-27Main will now open the connection with the X serverAndrea Rossato
darcs-hash:20071027110932-d6583-621b580c6fffcc889489186a0f030f9f39b0500d.gz
2007-10-02more code formattingAndrea Rossato
darcs-hash:20071002184500-d6583-b41a042f203ec30a69264ca04afa98a8f8fe0026.gz
2007-10-02Removed unneeded stuffAndrea Rossato
Removed StateT: now we only use a ReaderT Some more code and comments cleanup darcs-hash:20071002150404-d6583-f711205d5ea29e3fe23a6c3d0f55a5c4c2e98476.gz
2007-10-02updated Main to lates changesAndrea Rossato
darcs-hash:20071002114937-d6583-ed4e8bc16c1a959ec98ffc6991e95a31268e4824.gz
2007-09-27Main.hs: updated to reflect the API change - code formatting and cleanupAndrea Rossato
darcs-hash:20070927173109-d6583-6f581f76d50e3c61f7325bd420f05776f4952f09.gz
2007-07-24better error handling in Main.hsAndrea Rossato
darcs-hash:20070724120106-d6583-0a4a02d25dddcf0c005a295db06e4a009851292d.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-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-18Use asynchronous exceptions to obviate the need for forkOS and threadedSpencer Janssen
darcs-hash:20070717225131-a5988-1f5e0cb3c8373b5eb6f7e87496110409380ded23.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-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-06-26splitted filesAndrea Rossato
darcs-hash:20070626113948-d6583-73d318293d1cd91894589450e5cd270dd39bdc02.gz