aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks/DynamicLog.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Escape dzen markup and remove xmobar tags from window titles by default.Adam Vogt2013-07-081-13/+30
| | | | | | | | | | | Ignore-this: cf56bff752fbf78ea06d5c0cb755f615 The issue was that window titles, such as those set by, for example a browser, could set the window title to display something like <action darcs-hash:20130708144813-1499c-0c3e284d3523c0694b9423714081761813bc1e89.gz
* use Data.Default wherever possible, and deprecate the things it replacesDaniel Wagner2013-05-281-23/+27
| | | | | | Ignore-this: 898458b1d2868a70dfb09faf473dc7aa darcs-hash:20130528013909-76d51-863278165b6f149c47b08b31b34e85ddcab19f1f.gz
* eliminate references to defaultConfigDaniel Wagner2013-05-281-5/+5
| | | | | | Ignore-this: 37ae613e4b943e99c5200915b9d95e58 darcs-hash:20130528005825-76d51-89eaf6f1aeeb02086371f9c4ae2afade984f62e0.gz
* Correct H.DynamicLog.dynamicLogXinerama comment. Wuzzeb's patch at issue 466.Adam Vogt2011-07-151-4/+9
| | | | | | | | | Ignore-this: 8434fe4c740fc06b5b17f016e28e0376 Slight changes to the patch to 1. work with haddock, and 2. remove ppOutput which distracts from the formatting and is covered elsewhere. darcs-hash:20110714231741-1499c-35d5783d634799a926db2718a0a0cc7b6132a79c.gz
* remove decodeInput/encodeOutputgwern02010-06-151-9/+8
| | | | | | | | Ignore-this: 2ed6a014130dba95c6b0a6fcac055110 see http://code.google.com/p/xmonad/issues/detail?id48 they are just synonyms for 2 utf8-string functions, and don't really help darcs-hash:20100614232300-f7719-66f0606d9c7323186cb6aa56dff11c506bb79c4e.gz
* X.H.DynamicLog: let the user of xmonadPropLog choose property nameTomas Janousek2010-03-191-6/+11
| | | | | | Ignore-this: 17c0cac2a469e0b70b0cea86f3aeed51 darcs-hash:20100319214631-c9ff5-e1515d6d27fdecb2bf28805918d373d0d5445403.gz
* minor style changesDaniel Wagner2009-12-281-8/+7
| | | | | | Ignore-this: 605de753d6a5007751de9d7b9f8ab9ca darcs-hash:20091228173016-76d51-9a0b36d3b23bd2ad41f36e50c029d9d17a506d6e.gz
* 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