aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks/DynamicLog.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* X.H.DynamicLog: fix xmonadPropLog double-encoding of UTF-8Tomas Janousek2009-11-211-4/+4
| | | | | | | | | Ignore-this: bde612bbd1a19951f9718a03e737c4ac dynamicLogString utf-8 encodes its output, xmonadPropLog shouldn't do that again. darcs-hash:20091121004829-c9ff5-64b4d4052ae78220e8db863b4dbc77b0a6297174.gz
* X.H.DynamicLog: make documentation for 'dzen' and 'xmobar' slightly more clearBrent Yorgey2009-11-211-3/+9
| | | | | | Ignore-this: c9a241677fda21ef93305fc3882f102e darcs-hash:20091121170739-1e371-18e128232f780146a0d07f97b9f12f77a82f98e5.gz
* X.H.DynamicLog fix minor indentation oddnessAnders Engstrom2009-11-151-15/+15
| | | | | | Ignore-this: 7f2c49eae5527874ca4499767f4167c4 darcs-hash:20091115130707-8978f-fc8f41e624d9c8ab5ec2a06a89429ab9612c31aa.gz
* Add experimental xmonadPropLog functionSpencer Janssen2009-11-071-0/+19
| | | | | | Ignore-this: f09b2c11b16a3af993b63d1b39566120 darcs-hash:20091107004624-25a6b-7d6cd58f8b759867bb49df0ac9bfc1472b3f7423.gz
* Changing behaviour of ppUrgent with X.H.DynamicLogmail2009-09-101-19/+8
| | | | | | | | | | | | | | | | | | | Ignore-this: 3882f36d5c49e53628485c1570bf136a Currently, the ppUrgent method is an addition to the ppHidden method. This doesn't make any sense since it is in fact possible to get urgent windows on the current and visible screens. So I've raised the ppUrgent printer to be above ppCurrent/ppVisible and dropped its dependency on ppHidden. In addition to that this makes it a lot more easier to define a more custom ppUrgent printer, since you don't have to "undo" the ppHidden printer anymore. This also basicly removes the need for dzenStrip, although I just changed the description. -- McManiaC / Nils darcs-hash:20090910010411-e34a6-d8ba596b105db26324d799ee72658ec97648df65.gz
* Better default for ppUrgent in xmobarPPDaniel Schoepe2009-08-221-0/+1
| | | | | | | | | | Ignore-this: ffdfad360d8fd5c5bfa38fd0549b8f19 Most users would expect workspaces with urgent windows to be highlighted in xmobar when they set up an UrgencyHook. Hence, doing this by default in xmobarPP makes sense. (dzenPP does the same) darcs-hash:20090822183416-7f603-1a8bafd92a2f38db8f3df40daf490b206ced526e.gz
* X.H.DynamicLog: provides trim, inverse of padsean.escriva2009-04-091-1/+7
| | | | | | Ignore-this: 9d92ff592f2bc4f041b85d1314058fdc darcs-hash:20090409163513-29414-6e265fe7109d15b55b040514bca469d5c68f2bc4.gz
* H.DynamicLog: revised dzenStrip and xmobarStrip functionswirtwolff2009-03-141-10/+30
| | | | | | | Ignore-this: 9897c60b8dfc59344939b7aebc370953 Reconcile darcswatch patch with pushed version of dzenStrip. darcs-hash:20090314041517-d17f0-85d43c2bc0bddf3a6322c8ec195095117840e372.gz
* X.H.DynamicLog: Add dzenStrip to remove formatting, for use in dzenPP's ↵Braden Shepherdson2009-03-141-2/+13
| | | | | | | | | | | ppUrgent. Ignore-this: fd96a1a4b112d0f71589b639b83ec3e This function was written by Wirt Wolff. This change should allow UrgencyHook to work out of the box with dzen and dzenPP, rather than the colours being overridden so even though UrgencyHook is working, it doesn't change colours. darcs-hash:20090314032818-d53a8-7af4c3e0cb04eca34d7d95cdd28a3e727a1abd83.gz
* DynamicLog: doc fixesSpencer Janssen2008-09-211-2/+2
| | | | darcs-hash:20080921061314-25a6b-9f455e86cc1a0ef1ab93175ee9a1949e211247da.gz
* statusBar now supplies the action to toggle strutsSpencer Janssen2008-09-181-4/+6
| | | | darcs-hash:20080918013858-25a6b-eae69817cc9f3ba2835bbe62f458959244921e5c.gz
* cleanup - use currentTagDevin Mullins2008-09-211-1/+1
| | | | darcs-hash:20080921011159-78224-b0ac172560719cba3a1c41171d91e222a6fa1304.gz
* Add missing space between dzen command and flagsDaniel Neri2008-09-151-1/+1
| | | | darcs-hash:20080915131009-c66d8-51f08d691780e7ba20473ba5cf097ad60dd44503.gz
* Big DynamicLog refactor. Added statusBar, improved compositionality for ↵Spencer Janssen2008-09-131-68/+55
| | | | | | | | | | | | dzen and xmobar Compatibility notes: - dzen type change - xmobar type change - dynamicLogDzen removed - dynamicLogXmobar removed darcs-hash:20080913205931-25a6b-66052882740382d225f280c909b4902bd6523f11.gz
* Updates to my configSpencer Janssen2008-08-121-1/+1
| | | | darcs-hash:20080812050124-25a6b-98b8844dd014a213d0ca55184fed4cc1bbfa1ed8.gz
* 'xmobar' function added to DynamicLog for running xmobar with some defaultsIvan N. Veselov2008-05-081-5/+34
| | | | darcs-hash:20080508194918-98257-90af4d9fa986c220fbac658d04d14a8e78f231f9.gz
* My monitor is larger now :)Spencer Janssen2008-04-301-1/+1
| | | | darcs-hash:20080430083026-a5988-e0ce89594d1fbce30d74a10c4477e12d44bf259b.gz
* DynamicLog: resolve merge conflictLukas Mai2008-04-061-0/+3
| | | | darcs-hash:20080406020527-462cf-ed5f93a6e72de2b1e50863dafe7f19224e2fa926.gz
* Encode the entire DynamicLog output, instead of just window title.lithis2008-03-291-2/+2
| | | | darcs-hash:20080329031537-1c3cf-c68bcb7e9296b98cedbed1e18ceba05548122512.gz
* DynamicLog: add support for UTF-8 locales when compiled with XFT or UFT-8 ↵Andrea Rossato2008-03-131-3/+1
| | | | | | support darcs-hash:20080313102643-32816-e74a67dc512a001a766aa955f9a25915354c6e1e.gz
* onstartDon Stewart2008-04-031-1/+1
| | | | darcs-hash:20080403203425-cba2c-e6ab74ebeacb32b32141682426cfbe1dbcc7db93.gz
* have 'dzen' use autoStruts to detect the gapsDon Stewart2008-04-031-3/+25
| | | | darcs-hash:20080403003130-cba2c-9e65ec4e893127b66f17ffbc261472b675be1599.gz
* Util.Run, Hooks.DynamicLog: re-export hPutStrLn and hPutStr from Util.Run ↵Brent Yorgey2008-03-281-0/+2
| | | | | | for convenience, and update DynamicLog documentation to show proper imports darcs-hash:20080328205446-bd4d7-ae6c9a13c69620ec5edef7d34086236974c0c631.gz
* Remove stale status gaps codeSpencer Janssen2008-03-301-2/+1
| | | | darcs-hash:20080329230737-a5988-00c8ef14160f79347f4e40c12b2c84a9519b4d1a.gz
* Hooks.DynamicLog: export xmobarPPDmitry Kurochkin2008-03-031-1/+1
| | | | darcs-hash:20080303215637-903e8-9ac83679708058a1b7d040669b1f300191cda5dc.gz
* DynamicLog.hs: haddock fixAndrea Rossato2008-02-201-1/+1
| | | | | | | | | | | | | | Someone forgot to check if her patch was going to break haddock docs generation or not. So, while I was recording a patch with quite a long description I had to manually write - sound strange? -, I found out that my patch did not pass the tests, because of this haddock problem left behind. And so I fixed it, recorded this patch, with the hope the my next description of the next patch I'm going to record will survive the test suite we created to avoid this kind of problems for. darcs-hash:20080220204033-32816-c937fe0e85fdd671c06991b0f2fc507222734c97.gz
* improvements to XMonad.Hooks.DynamicLog, and new contrib module ↵Brent Yorgey2008-02-191-63/+155
| | | | | | | | | | | | | | | | | | | XMonad.Util.Loggers Improvements to DynamicLog include: * Greatly expanded and improved documentation and examples * remove seemingly useless makeSimpleDzenConfig function * factor out xmobarPP * add new ppExtras field to PP record, for specifying 'extra' loggers which can supply information other than window title, layout, and workspace status to a status bar (for example, time and date, battery status, mail status, etc.) The new XMonad.Util.Loggers module provides some example loggers that can be used in the new ppExtras field of the PP record. Create your own, add them to this module, go crazy! darcs-hash:20080219210128-bd4d7-33f4bcf2732069a5b7cf7584efa6ee060604c40b.gz
* Refactor XMonad.Hooks.DynamicLogRoman Cheplyaka2008-02-101-4/+15
| | | | | | This allows using DynamicLog not only for statusbar. darcs-hash:20080210222406-3ebed-1943dc0ec95f1a630f89271b03b0a02c8918d5fd.gz
* WorkspaceCompare: some refactoring.Brent Yorgey2008-02-011-3/+3
| | | | | | | | | | | | | * Export WorkspaceCompare and WorkspaceSort types. * Extract commonality in sort methods into mkWsSort, which creates a workspace sort from a workspace comparison function. * Rename getSortByTag to getSortByIndex, since it did not actually sort by tag at all; it sorts by index of workspace tags in the user's config. * Create a new getSortByTag function which actually does sort lexicographically by tag. * Enhance documentation. darcs-hash:20080201120430-bd4d7-71310db2b8d4248ddfb77e3fa25dd0f3b98ea00b.gz
* DynamicLog: lots of additional documentation; add byorgeyPP as an example ↵Brent Yorgey2008-01-301-32/+99
| | | | | | dzen config darcs-hash:20080130205219-bd4d7-3c76c5258b78f894054fa26a0df552c0e1b4b318.gz
* Extended PP with sorting algorithm specification and added xinerama sortingJuraj Hercek2008-01-091-1/+3
| | | | | | | | | | | algorithm - idea is to specify sorting algorithm from user's xmonad.hs - xinerama sorting algorithm produces same ordering as pprWindowSetXinerama - default ppSort is set to getSortByTag, so the default functionality is the same as it was before darcs-hash:20080109154923-69f16-2b9674eab322c2cac47698a66402cecae6abe253.gz
* Factor workspace sorting into a separate moduleSpencer Janssen2007-12-221-16/+7
| | | | darcs-hash:20071222104114-a5988-bfd9059d0556a526c275b6d0e4a930103bd7d990.gz
* DynamicLog.hs: some documentation updates.Brent Yorgey2007-12-151-8/+9
| | | | darcs-hash:20071215143727-bd4d7-1bacdb513aa2e5d760c89ca52c95f40ecbff520c.gz
* DynamicLog.hs: fix shadowing warningBrent Yorgey2007-12-151-1/+1
| | | | darcs-hash:20071215143227-bd4d7-ae762306d69afc8af294c769ed91b8071c375ed1.gz
* Add UrgencyHook support to DynamicLogShachaf Ben-Kiki2007-12-141-11/+17
| | | | | | | Someone with Xinerama should look at this -- I don't know exactly how that should behave. darcs-hash:20071214043528-bffde-d15c8db72fad65ce4d266917c3e22421fe45a5eb.gz
* DynamicLog: haddock fixesAndrea Rossato2007-12-091-7/+3
| | | | darcs-hash:20071209123148-32816-22003ad7172f7d36a077596aa61c470dd61d7d27.gz
* More import pruningSpencer Janssen2007-12-081-1/+0
| | | | darcs-hash:20071208014846-a5988-6c53b449256d73dc5ab3e1bac2f9f0a93227b078.gz
* Remove redundant importsSpencer Janssen2007-12-081-1/+0
| | | | darcs-hash:20071207233827-a5988-9e41d51120499637f14d115f2cf1428edaf326bb.gz
* DynamicLog: added a dynamicLogXmobarAndrea Rossato2007-11-241-0/+9
| | | | darcs-hash:20071124125202-32816-8d745b2d6075b8d86207f04fd5fbd54b3a7d7bd8.gz
* Hooks/DynamicLog.hs: minor typo.Joachim Fasting2007-11-191-1/+1
| | | | darcs-hash:20071119131218-928c4-263f013c9004989dfaffe385ca6fb54e709a9da9.gz
* Miscellaneous spell-checkingShachaf Ben-Kiki2007-11-191-2/+2
| | | | darcs-hash:20071118230319-bffde-6c56202afece4ecc55d48d37bde3f80edaff66f7.gz
* changes to work with XConfig of kind * -> *.David Roundy2007-11-111-2/+3
| | | | darcs-hash:20071111005629-72aca-19e9e88bd2c31a9d5a3bbccbb9a569a8cd8fd2bc.gz
* font size 15 pixels is the dzen defaultDon Stewart2007-11-091-1/+1
| | | | darcs-hash:20071109190328-cba2c-4385e0058b99d50fffe970e4bd9a5f4ca5c7b06e.gz
* DynamicLog: typo in docsAndrea Rossato2007-11-081-1/+1
| | | | darcs-hash:20071108010104-32816-2e1884dfa2a040f0df8bb17416887b9d3e93b8bb.gz
* add higher order 'dzen' functionDon Stewart2007-11-071-1/+24
| | | | | | | | The intent is that: main darcs-hash:20071107183107-cba2c-9b30182c82b98ccb2bf41f7c574946cbcb1be95f.gz
* Set defaultGaps for makeSimpleDzenConfigSpencer Janssen2007-11-071-1/+2
| | | | darcs-hash:20071107092037-a5988-708c5d10e1faf6090180e227cc6c9b22448c5f18.gz
* DynamicLog: Add makeSimpleDzenConfig functionEric Mertens2007-11-071-1/+12
| | | | | | | This function serves as an example for spawning a dzen2 instance and printing the defaultPP to it. darcs-hash:20071107085514-b49f3-cefc0b026964d545f8ef746762654fe0d6a8654e.gz
* DynamicLog: add ppOutput field to PPEric Mertens2007-11-071-3/+7
| | | | | | | This allows the user to specify an alternate destination for logging output instead of outputing to stdout (which is still the default). darcs-hash:20071107055805-b49f3-c6ea1520a3c35f590b338e74b94f02762ec9593d.gz
* HierarchifySpencer Janssen2007-11-011-0/+211
darcs-hash:20071101201059-a5988-fc1f1262bec1b69e13ba18ae7cefeafc8c4471d4.gz