summaryrefslogtreecommitdiffhomepage
path: root/Xmobar.hs
AgeCommit message (Collapse)Author
2010-12-21Haskell sources moved to src/ to unclutter toplevelJose Antonio Ortega Ruiz
2010-12-09Maintainer field in headers set to jaoJose Antonio Ortega Ruiz
2010-06-25Add borders after strings are drawn.Jose A Ortega Ruiz
Ignore-this: 41ab62f56ddf57fc3bcea9af7dcf1f3c darcs-hash:20100625125558-748be-f66fc11686ffa0b4221a46df44df54af6e5bd7a8.gz
2010-06-24Configurable border marginsJose A Ortega Ruiz
Ignore-this: 18fcf93df84c7e8b6a263f3301a1666e darcs-hash:20100624182724-748be-0b7c8d41243587bab906b4ea9739eca78aa1a21c.gz
2010-06-24Configurable bordersJose A Ortega Ruiz
Ignore-this: 6e1e943633b2fdf0859a082fafdd2e44 darcs-hash:20100624174723-748be-024ca29986170fb46fa9d921d7ea274797dcb523.gz
2009-07-31Fix right-alignment of stringsNorbert Zeh
Ignore-this: c8788007de87e0832575047b9ba4780b The alignment of right-aligned content was off by one. Fixed that. darcs-hash:20090731025448-18a2b-bb7b517e2a9ac57f03914051d6203a980fd9fbf9.gz
2009-07-31Full-height colour boxes around textNorbert Zeh
Ignore-this: b1339bf8b7ed3ee816233d1dd386bd0a Didn't like the fact that strings with the non-default background had two pixels of default background above and below it. Made the boxes with the custom background colour extend to the full height of the status bar. darcs-hash:20090731025556-18a2b-445313d476ee671e20799bab46f4d5f5db497057.gz
2009-12-30add positions with height informationDaniel Wagner
Ignore-this: 1244d13c44610fc3b1d9b73a0ebfac59 darcs-hash:20091230074604-76d51-a3415c7365aa22dfb9891cc6bb5c5ef4e726a805.gz
2010-02-10fix ghc-6.12.1 warnings andd fix issue 17Andrea Rossato
Ignore-this: 868a877e7a107ddc8bc4085f3eb7fc8ae64597ee ghc-6.12.1 has native support for locales (very cool indeed!!), which simplify the code - unless for the compatibility layer with past ghc versions. xmobar has now support for every locale supported by ghc. The rest of the patch are just redundant import warnings and some xmobar.cabal updates. darcs-hash:20100210122927-d6583-e131c86cf89ce26adea9aa2ae06467bfdc40e14b.gz
2010-02-09update my emailAndrea Rossato
Ignore-this: afbb205e54c523b9f091d4495f9ba176dd3db971 darcs-hash:20100209094548-d6583-024d9319483e56a4482ce5fb705951097c33ec83.gz
2009-10-11Support for base 4 without base-3 compatibilityAdam Vogt
Ignore-this: 6846a123ade5dc1164841e62beabbf71 darcs-hash:20091011015618-1499c-f91811df4a05f6e4d236faaa5f4b4050613253e1.gz
2009-04-20Accept the outermost OnScreen XPositionAdam Vogt
Ignore-this: 9db9f39958618cf4c9ea91330f162aec Takes the outermost directive. This implementation has the potentially desirable side-effect of causing xmobar to run when given OnScreen 1, when there is only 1 screen. darcs-hash:20090420005732-1499c-280e2964039c8d3139d93cd52a0b9ab781b92bae.gz
2009-03-24Fix colour allocation leaknzeh
darcs-hash:20090324001123-c6b6b-8d31153a5794e56f7abd251bcafa8aa2676193c2.gz
2008-12-07Create _NEW_WM_STRUT_PARTIAL properties for Static positionAndrew Sackville-West
darcs-hash:20081207202334-f44e0-f3c10cbcdba00ab3e77646ec570a423be5d0cbc7.gz
2008-10-08Make lowerOnStart configurable. Note this breaks config backwards compatibilitySpencer Janssen
darcs-hash:20081008050009-a5988-acb5cda2e3692295abf0bc967acc23e54b55068c.gz
2008-09-18Lower the window, so as not to cover other windowsSpencer Janssen
darcs-hash:20080918213721-a5988-11e892754faa3a2d0f940e8ae695f5e09416befd.gz
2008-09-01code formattingAndrea Rossato
darcs-hash:20080901180020-d6583-c55675755883b6c48a61b8770911198232a5d006.gz
2008-09-01xmobar_different_heights_generalizedJan Vornberger
Set _NET_WM_STRUT_PARTIAL correctly when dealing with multiple screens of different heights darcs-hash:20080901124315-25ab1-caf072e1383dd53ce4e344f8a519968dab6636bf.gz
2008-08-31onscreen-pos-strut-property-fixJan Vornberger
The _NET_WM_STRUT_PARTIAL property is now also set correctly when using the position command OnScreen darcs-hash:20080831171930-25ab1-78961e6bebf8776a96f42166711d217000d4ca6e.gz
2008-08-23use LANGUAGE pragmasAndrea Rossato
darcs-hash:20080823112141-d6583-d7c93c87966239c721b1652d28e277c8d49083a7.gz
2008-08-06Add Support for positioning on certain screensSpencer Janssen
darcs-hash:20080806205029-a5988-84ceb56437a40b7213082922f55339e31059597a.gz
2008-04-29style, pointfree and trailing spaces0.9_releaseAndrea Rossato
darcs-hash:20080429125953-d6583-02a6653c15d3166ad264c45ec44082bdae30260e.gz
2008-03-30Fix _NET_WM_STRUT_PARTIAL implementationAndrea Rossato
darcs-hash:20080330091537-d6583-498d5b8e5cc38879490d04f97d0a59270964678a.gz
2008-03-29Set _NET_WM_STRUT_PARTIAL instead of _NET_WM_STRUT and change ↵Andrea Rossato
mkUnmanageWindow to newWindow darcs-hash:20080329103834-d6583-b2da6a8a6770e13a2d2598debea5e93e48eee713.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-19Xmobar: vertical align after wc stringAndrea Rossato
darcs-hash:20080219011909-d6583-c2c8e53e316808e52d6b70af2cf454a54f65515d.gz
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