aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks/DynamicLog.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2007-10-18-Wall policel.mai1-1/+1
darcs-hash:20071018033000-42ea9-8f269712737b88376bbe662b7dabe62d58a82146.gz
2007-10-18DynamicLog.hs: Add dzenColorEric Mertens1-2/+8
darcs-hash:20071018174523-b49f3-1fb1d59daf1b5d78e2f3d153570090940d335694.gz
2007-10-18Truncate title at 80 charactersSpencer Janssen1-2/+2
darcs-hash:20071018003013-a5988-95789aa40da640b8f6f9cd1c198ff6aa2d0dc38b.gz
2007-10-18shorten in sjanssenPP tooSpencer Janssen1-1/+1
darcs-hash:20071018002821-a5988-f23531a42a52fc2edf1700f201ac3b0e631697be.gz
2007-10-18Truncate long window titlesSpencer Janssen1-2/+8
darcs-hash:20071018002511-a5988-12b76a33f36ff72975d03585b68454dd1a4f8c5d.gz
2007-10-18DynamicLog.hs: Add ppWsSep field to PP to specify workspace separator.Eric Mertens1-6/+3
This can be useful when you are using colors to distinguish between workspaces and simply provides more functionality. The default behavior remains the same. darcs-hash:20071018001652-b49f3-2fc4fa9e2412b77e18f34969b45acb3ffb2c16f6.gz
2007-10-18Wrapping the empty string yields the empty stringSpencer Janssen1-1/+2
darcs-hash:20071018001542-a5988-22604499111d6535e88b122844aa30e9d45fd290.gz
2007-10-17DynamicLog: documentation onlySpencer Janssen1-3/+1
darcs-hash:20071017211427-a5988-bc749e2f7ce798ac9983e8ba30e3d03064f757d7.gz
2007-10-17Allow the user to change the order of workspaces, layout, titleSpencer Janssen1-3/+6
darcs-hash:20071017211303-a5988-72a3633166bc0daf2ed3719b2172a44a4cd05fb5.gz
2007-10-17Don't wrap the layout description by defaultSpencer Janssen1-1/+1
darcs-hash:20071017211011-a5988-7da83fda03acfb16e52af2e6c19c9c73a0baa6c2.gz
2007-10-17DynamicLog: not . null. Duh.Spencer Janssen1-1/+1
darcs-hash:20071017210912-a5988-6b05818ed665808068bdc7b5aeeed9fb091a80e4.gz
2007-10-17A big dynamicLog refactorSpencer Janssen1-60/+68
We introduce the PP type to allow user customization of dynamicLog. dynamicLogWithTitle has been eliminated because this is the default behavior for dynamicLog now. darcs-hash:20071017210431-a5988-9aac9047eb033d330686999052ad2ec0e79a81b0.gz
2007-10-17Don't toLower the layout description.Spencer Janssen1-2/+1
If we'd really like lower case layout descriptions, the 'description' method in the LayoutClass instances should be changed instead. darcs-hash:20071017202953-a5988-ba32d2aa4e9dbbfe9d93e8e35545ffc5004a4de9.gz
2007-10-13clean up DynamicLog.hsDon Stewart1-16/+44
darcs-hash:20071013195129-cba2c-0f7b450f25113577cd57ce3c10e830f44f1c2678.gz
2007-10-06Two new dynamic log functions that display the title of the currently ↵Christian Thiemann1-2/+31
focused window I liked the window-title-in-statusbar feature of dwm very much and wanted to have that in XMonad as well. Somewhere on the net I found some code to put into Config.hs (and sorry, that was last week and I already forgot where I got it from) which I modified and put into the DynamicLog extension. One can now set the logHook in Config.hs either to dynamicLogWithTitle to get the usual layout description and workspace list plus window title enclosed in angle brackets, or dynamicLogWithTitleColored "white" (or "red" etc.) to have xmonad print out some ^fg() markers for dzen to display the window title in the given color. Some windows (like terminals or browsers) change their window title from time to time but xmonad does not recognize this. So I started learning Haskell to provide patches for X11-extras and xmonad so that PropertyNotify events are captured and, if the event notifies about a WM_NAME property change, call the logHook to update the status bar. Hope you find this useful, Christian darcs-hash:20071006173113-8602e-c5404faf1ae148cc510644b8146a5997556e5703.gz
2007-09-28DynamicLog: sort first by index in the workspaces list, then by tag nameSpencer Janssen1-2/+13
darcs-hash:20070928144900-a5988-70e97865519ee4249ca82b815490edb04d40c2ee.gz