summaryrefslogtreecommitdiffhomepage
path: root/Xmobar.hs
AgeCommit message (Collapse)Author
2008-02-16add utf8 support to the core systemAndrea Rossato
darcs-hash:20080216080151-d6583-367d1e30dba8744259e35db87d3edae8dcc27950.gz
2008-01-09Set strut value for BottomW and TopW tooAndrea Rossato
darcs-hash:20080109094354-d6583-0e81ffb45e681adf42ae0887372895f340ddd6fe.gz
2007-11-04A new implementation of the position configuration optionAndrea Rossato
WARNING: this patch breaks previous configuration files. A new implementation of the position configuration option: - Top and Bottom have non arguments - TopW and BottomW have now 2 arguments: Align (L, C or R) and Int - setting a width % greater than 100 means a 100% width darcs-hash:20071104174551-d6583-adff505bf3929926554595180b8da1c7a0f9d0a5.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 possibility to set the main window's widthAndrea Rossato
WARNING: this patch breaks previous configuration files! Changed the position configuration option: now Top and Bottom require one argument, the width of the main window. 4 possibilities are given: - A means all the screen width - C Int means centered, with the Int percentage of screen width - L Int means left aligned, with the Int percentage of screen width - R Int means right aligned, with the Int percentage of screen width Examples: position darcs-hash:20071104111221-d6583-3e08ce73546894cc2167aac7b156ccd602b50238.gz
2007-11-04Window is mapped after properties have been setAndrea Rossato
darcs-hash:20071104111200-d6583-3ba0889da170886938f84754d9831c5b53068ba4.gz
2007-11-04Fixed a compilation issue on non 32bit machinesAndrea Rossato
darcs-hash:20071104111111-d6583-fa2ab025c82b4cb547abeccbc204c491a01f4ed2.gz
2007-10-29Code formatting onlyAndrea Rossato
darcs-hash:20071029073826-d6583-26aa9a8773d40c3dc40e2c911055f53a20263620.gz
2007-10-28Avoid irrefutable pattern in handling text alignmentAndrea Rossato
darcs-hash:20071028223837-d6583-9a70143b0fdd4107959893acab34a481bd7603e4.gz
2007-10-28Added support for alignment commands in the output templateAndrea Rossato
darcs-hash:20071028215651-d6583-98d8136e184a300d9d644e07a73e9998a6c695b5.gz
2007-10-28Now we use information returned by getScreenInfo to draw the main window and ↵Andrea Rossato
more - we now cache the FontStruct - position is automatically calculated and updated in reposn to XRandR events darcs-hash:20071028131956-d6583-881da699797e4d29e728aaf08a554ebd65098395.gz
2007-10-27Added XRandR supportAndrea Rossato
- Added support for XRandR: if the screen configuration changes, Xmobar will use the configured width only if smaller than the screen width, otherwise the later will be used instead. - Now Xmonad will set _NET_WM_STRUT and will present itself as a DOCK application darcs-hash:20071027111127-d6583-6471586d71efb16ae7272a01d3707286750d4f04.gz
2007-10-23Fix text vertical alignment.Dmitry Kurochkin
darcs-hash:20071023165430-903e8-c4c8b5aaae19225116f84a753cd57f902070dbbd.gz
2007-10-12Allow setting the foreground colorAndrea Rossato
Now it is possible dynamically set the foreground color of strings to be displayed with the <fc darcs-hash:20071012193944-d6583-14ce9e84b1d5223b790e771f0b82cf354d58d744.gz
2007-10-11The MVar is needed to avoid a race conditionAndrea Rossato
As Spencer noted the checker thread may be throwing an exception immediately, thus producing a race condition. darcs-hash:20071011203029-d6583-64a79e4be3cf1ab97c7ba2ee36db08166c9003d4.gz
2007-10-06Remove MVar from eventLoop.Dmitry Kurochkin
darcs-hash:20071006105447-903e8-d5b4a5499d79f5749ca8630afb98b6eef7590510.gz
2007-10-03Use dynamic exceptions.Dmitry Kurochkin
darcs-hash:20071003085806-903e8-cf3a24aa91bd95336a8aecdbc3b11b738caad6e7.gz
2007-10-05Fix race conditions in Xmobar.eventLoopSpencer Janssen
darcs-hash:20071004223921-a5988-b24e15d813394c7f54cafe5e55c19fade1d9efe6.gz
2007-10-02coding style consistencyAndrea Rossato
darcs-hash:20071002184057-d6583-8674e115cee48c80cb5e76103f8af78eb94ba776.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-02Now Xmobar uses STM concurrencyAndrea Rossato
Now every time a TVar is updated the output window is redrawn. darcs-hash:20071002114538-d6583-9bc6f89b95b5e66049157d261ed2205a8fae49d9.gz
2007-09-28code formattingAndrea Rossato
darcs-hash:20070928120344-d6583-7edfabb4fcee32e1b63cb4496e3e1470b957570d.gz
2007-09-27Xmobas.hs: updated to reflect the API change - code formatting and cleanupAndrea Rossato
darcs-hash:20070927172951-d6583-33d153901fd86bba488997c0601af14b47e28e87.gz
2007-07-24loadQueryFont must be protected by catchAndrea Rossato
Expecially now that fonts can be easily choose with a command line options. darcs-hash:20070724173047-d6583-30c6a0a1315216cb21e3132c64448e01bd846de2.gz
2007-07-24if an invalid color name or value is given the black pixel will used insteadAndrea Rossato
darcs-hash:20070724125120-d6583-c56837a2e85eb505ce2cc7d9462d5f4471afa302.gz
2007-07-20X code cleanupAndrea Rossato
darcs-hash:20070720113917-d6583-cabe8d1a6d1d52da01b421099e4d74c1a0fb539e.gz
2007-07-18Use asynchronous exceptions to obviate the need for forkOS and threadedSpencer Janssen
darcs-hash:20070717225131-a5988-1f5e0cb3c8373b5eb6f7e87496110409380ded23.gz
2007-07-17execCommands is a mapMSpencer Janssen
darcs-hash:20070717211138-a5988-1ce4ccefb8b6468fc63ca8b98564881536ca60c2.gz
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-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