aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks/DynamicLog.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-09-10Changing behaviour of ppUrgent with X.H.DynamicLogmail1-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
2009-08-22Better default for ppUrgent in xmobarPPDaniel Schoepe1-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
2009-04-09X.H.DynamicLog: provides trim, inverse of padsean.escriva1-1/+7
Ignore-this: 9d92ff592f2bc4f041b85d1314058fdc darcs-hash:20090409163513-29414-6e265fe7109d15b55b040514bca469d5c68f2bc4.gz
2009-03-14H.DynamicLog: revised dzenStrip and xmobarStrip functionswirtwolff1-10/+30
Ignore-this: 9897c60b8dfc59344939b7aebc370953 Reconcile darcswatch patch with pushed version of dzenStrip. darcs-hash:20090314041517-d17f0-85d43c2bc0bddf3a6322c8ec195095117840e372.gz
2009-03-14X.H.DynamicLog: Add dzenStrip to remove formatting, for use in dzenPP's ↵Braden Shepherdson1-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
2008-09-21DynamicLog: doc fixesSpencer Janssen1-2/+2
darcs-hash:20080921061314-25a6b-9f455e86cc1a0ef1ab93175ee9a1949e211247da.gz
2008-09-18statusBar now supplies the action to toggle strutsSpencer Janssen1-4/+6
darcs-hash:20080918013858-25a6b-eae69817cc9f3ba2835bbe62f458959244921e5c.gz
2008-09-21cleanup - use currentTagDevin Mullins1-1/+1
darcs-hash:20080921011159-78224-b0ac172560719cba3a1c41171d91e222a6fa1304.gz
2008-09-15Add missing space between dzen command and flagsDaniel Neri1-1/+1
darcs-hash:20080915131009-c66d8-51f08d691780e7ba20473ba5cf097ad60dd44503.gz
2008-09-13Big DynamicLog refactor. Added statusBar, improved compositionality for ↵Spencer Janssen1-68/+55
dzen and xmobar Compatibility notes: - dzen type change - xmobar type change - dynamicLogDzen removed - dynamicLogXmobar removed darcs-hash:20080913205931-25a6b-66052882740382d225f280c909b4902bd6523f11.gz
2008-08-12Updates to my configSpencer Janssen1-1/+1
darcs-hash:20080812050124-25a6b-98b8844dd014a213d0ca55184fed4cc1bbfa1ed8.gz
2008-05-08'xmobar' function added to DynamicLog for running xmobar with some defaultsIvan N. Veselov1-5/+34
darcs-hash:20080508194918-98257-90af4d9fa986c220fbac658d04d14a8e78f231f9.gz
2008-04-30My monitor is larger now :)Spencer Janssen1-1/+1
darcs-hash:20080430083026-a5988-e0ce89594d1fbce30d74a10c4477e12d44bf259b.gz
2008-04-06DynamicLog: resolve merge conflictLukas Mai1-0/+3
darcs-hash:20080406020527-462cf-ed5f93a6e72de2b1e50863dafe7f19224e2fa926.gz
2008-03-29Encode the entire DynamicLog output, instead of just window title.lithis1-2/+2
darcs-hash:20080329031537-1c3cf-c68bcb7e9296b98cedbed1e18ceba05548122512.gz
2008-03-13DynamicLog: add support for UTF-8 locales when compiled with XFT or UFT-8 ↵Andrea Rossato1-3/+1
support darcs-hash:20080313102643-32816-e74a67dc512a001a766aa955f9a25915354c6e1e.gz
2008-04-03onstartDon Stewart1-1/+1
darcs-hash:20080403203425-cba2c-e6ab74ebeacb32b32141682426cfbe1dbcc7db93.gz
2008-04-03have 'dzen' use autoStruts to detect the gapsDon Stewart1-3/+25
darcs-hash:20080403003130-cba2c-9e65ec4e893127b66f17ffbc261472b675be1599.gz
2008-03-28Util.Run, Hooks.DynamicLog: re-export hPutStrLn and hPutStr from Util.Run ↵Brent Yorgey1-0/+2
for convenience, and update DynamicLog documentation to show proper imports darcs-hash:20080328205446-bd4d7-ae6c9a13c69620ec5edef7d34086236974c0c631.gz
2008-03-30Remove stale status gaps codeSpencer Janssen1-2/+1
darcs-hash:20080329230737-a5988-00c8ef14160f79347f4e40c12b2c84a9519b4d1a.gz
2008-03-03Hooks.DynamicLog: export xmobarPPDmitry Kurochkin1-1/+1
darcs-hash:20080303215637-903e8-9ac83679708058a1b7d040669b1f300191cda5dc.gz
2008-02-20DynamicLog.hs: haddock fixAndrea Rossato1-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
2008-02-19improvements to XMonad.Hooks.DynamicLog, and new contrib module ↵Brent Yorgey1-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
2008-02-10Refactor XMonad.Hooks.DynamicLogRoman Cheplyaka1-4/+15
This allows using DynamicLog not only for statusbar. darcs-hash:20080210222406-3ebed-1943dc0ec95f1a630f89271b03b0a02c8918d5fd.gz
2008-02-01WorkspaceCompare: some refactoring.Brent Yorgey1-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
2008-01-30DynamicLog: lots of additional documentation; add byorgeyPP as an example ↵Brent Yorgey1-32/+99
dzen config darcs-hash:20080130205219-bd4d7-3c76c5258b78f894054fa26a0df552c0e1b4b318.gz
2008-01-09Extended PP with sorting algorithm specification and added xinerama sortingJuraj Hercek1-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
2007-12-22Factor workspace sorting into a separate moduleSpencer Janssen1-16/+7
darcs-hash:20071222104114-a5988-bfd9059d0556a526c275b6d0e4a930103bd7d990.gz
2007-12-15DynamicLog.hs: some documentation updates.Brent Yorgey1-8/+9
darcs-hash:20071215143727-bd4d7-1bacdb513aa2e5d760c89ca52c95f40ecbff520c.gz
2007-12-15DynamicLog.hs: fix shadowing warningBrent Yorgey1-1/+1
darcs-hash:20071215143227-bd4d7-ae762306d69afc8af294c769ed91b8071c375ed1.gz
2007-12-14Add UrgencyHook support to DynamicLogShachaf Ben-Kiki1-11/+17
Someone with Xinerama should look at this -- I don't know exactly how that should behave. darcs-hash:20071214043528-bffde-d15c8db72fad65ce4d266917c3e22421fe45a5eb.gz
2007-12-09DynamicLog: haddock fixesAndrea Rossato1-7/+3
darcs-hash:20071209123148-32816-22003ad7172f7d36a077596aa61c470dd61d7d27.gz
2007-12-08More import pruningSpencer Janssen1-1/+0
darcs-hash:20071208014846-a5988-6c53b449256d73dc5ab3e1bac2f9f0a93227b078.gz
2007-12-08Remove redundant importsSpencer Janssen1-1/+0
darcs-hash:20071207233827-a5988-9e41d51120499637f14d115f2cf1428edaf326bb.gz
2007-11-24DynamicLog: added a dynamicLogXmobarAndrea Rossato1-0/+9
darcs-hash:20071124125202-32816-8d745b2d6075b8d86207f04fd5fbd54b3a7d7bd8.gz
2007-11-19Hooks/DynamicLog.hs: minor typo.Joachim Fasting1-1/+1
darcs-hash:20071119131218-928c4-263f013c9004989dfaffe385ca6fb54e709a9da9.gz
2007-11-19Miscellaneous spell-checkingShachaf Ben-Kiki1-2/+2
darcs-hash:20071118230319-bffde-6c56202afece4ecc55d48d37bde3f80edaff66f7.gz
2007-11-11changes to work with XConfig of kind * -> *.David Roundy1-2/+3
darcs-hash:20071111005629-72aca-19e9e88bd2c31a9d5a3bbccbb9a569a8cd8fd2bc.gz
2007-11-09font size 15 pixels is the dzen defaultDon Stewart1-1/+1
darcs-hash:20071109190328-cba2c-4385e0058b99d50fffe970e4bd9a5f4ca5c7b06e.gz
2007-11-08DynamicLog: typo in docsAndrea Rossato1-1/+1
darcs-hash:20071108010104-32816-2e1884dfa2a040f0df8bb17416887b9d3e93b8bb.gz
2007-11-07add higher order 'dzen' functionDon Stewart1-1/+24
The intent is that: main darcs-hash:20071107183107-cba2c-9b30182c82b98ccb2bf41f7c574946cbcb1be95f.gz
2007-11-07Set defaultGaps for makeSimpleDzenConfigSpencer Janssen1-1/+2
darcs-hash:20071107092037-a5988-708c5d10e1faf6090180e227cc6c9b22448c5f18.gz
2007-11-07DynamicLog: Add makeSimpleDzenConfig functionEric Mertens1-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
2007-11-07DynamicLog: add ppOutput field to PPEric Mertens1-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
2007-11-01HierarchifySpencer Janssen1-5/+5
darcs-hash:20071101201059-a5988-fc1f1262bec1b69e13ba18ae7cefeafc8c4471d4.gz
2007-11-01Use hierarchical module names from the coreSpencer Janssen1-1/+1
darcs-hash:20071101182824-a5988-e02ade829d66f49dd6b303b7a797933251c44164.gz
2007-11-01Port DynamicLogSpencer Janssen1-6/+6
darcs-hash:20071101072606-a5988-85cf1d6c23c4fe4a964a2264bde3dca236c21c20.gz
2007-10-29Factor out some of dzenPP's goodiesSpencer Janssen1-26/+35
darcs-hash:20071029015556-a5988-b5eaed14a2972febeab20104e41592146b93bd75.gz
2007-10-28Don't reverse sjanssenPPSpencer Janssen1-1/+0
darcs-hash:20071028224843-a5988-e9fa9319a92c1ca0cbbfd0d09df4a38584894e51.gz
2007-10-27add dynamicLogDzen, a dwm status bar, using dzen colour codesDon Stewart1-0/+25
darcs-hash:20071026221944-cba2c-7f8b88843873c2285fe1619df63e77254cdd87b0.gz