aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-03-19add ewmhDesktopsLayout for EWMH interactionJoachim Breitner1-4/+58
This is based on Andrea’s EventHook thingy. Note that I could not merge this with some of my earlier EWHM interaction patches (darcs was failing on me), so I copied some code. Do not try to merge it with those patches either. Note that the docs are saying what should work. There are still some bugs to be resolved, but it works sometimes and should work similar to what we have. darcs-hash:20080319195736-23c07-78be594f4352055d21d921eecab4312905124cf9.gz
2008-03-19Export HandleEvent type to be able to use it in type annotationsJoachim Breitner1-0/+1
darcs-hash:20080319195603-23c07-a25607a54f55c2842cdcd10cd9d645c5d6700b2a.gz
2008-02-25EventHook: handle events after the underlying layout and moreAndrea Rossato1-14/+14
- check the first time the Bool is True - coding and naming style darcs-hash:20080224230854-32816-9ae0e111f33f6ea3d4ac1dae76ed4e4fab496742.gz
2008-02-24Add Hooks.ServerMode: an event hook to execute commands sent by an external ↵Andrea Rossato1-0/+103
client darcs-hash:20080224133706-32816-aa862084a86ac6769123c4d3760be42d857d3c8d.gz
2008-02-24Add EventHook: a layout modifier to handle X eventsAndrea Rossato1-0/+107
darcs-hash:20080224112432-32816-39c2c29649bfbf285107e019a4fb76ff535f6fbb.gz
2008-03-15EwmhDesktops: advertise support for _NET_CLIENT_LIST_STACKINGAlec Berryman1-0/+1
darcs-hash:20080315212631-39448-e4b0d64bd42bce083406338e73568215c0e3a0fa.gz
2008-02-23LayoutModifier: reimplement ModifiedLayout using runLayout and moreAndrea Rossato1-2/+2
- change modifyLayout type to get the Workspace - updated ResizeScreen and ManageDocks accordingly. darcs-hash:20080223075610-32816-05f373cf73305ce5b41d0c250fb5d6413e72b3b4.gz
2008-03-08Fix to work with "floats always use current screen" patchrobreim1-1/+1
darcs-hash:20080308024928-d4c7e-ecac63a09d430efd75413e3148e42b38c4ec2503.gz
2008-03-03Hooks.DynamicLog: export xmobarPPDmitry Kurochkin1-1/+1
darcs-hash:20080303215637-903e8-9ac83679708058a1b7d040669b1f300191cda5dc.gz
2008-03-02Haddock fix: Changed URL-MarkupDominik Bruhn1-1/+1
darcs-hash:20080302185435-ae55e-9f354d574e799dd14fb1c6dfead04edb8621604d.gz
2008-02-25Two new floating window ManageHooks.Braden Shepherdson1-1/+17
Adds doRectFloat, which floats the new window in the given rectangle; and doCenterFloat, which floats the new window with its original size, but centered. darcs-hash:20080225183337-d53a8-e9e6680266618483dec2cd900e9be8219e1e89f7.gz
2008-02-10Small refactoring.Nils Anders Danielsson1-21/+35
darcs-hash:20080210224756-9990f-b6287e5e35b83c7e6b13ed90d7f8b34720eada36.gz
2008-02-10Fixed off-by-one error which broke strut handling for some panels.Nils Anders Danielsson1-4/+19
darcs-hash:20080210222600-9990f-30f64da2f26b6673e57eb981fc4acfcbcb414744.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 Yorgey2-9/+9
* 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
2008-01-27ManageDocks: implement AvoidStruts as a layout modifierAndrea Rossato1-18/+12
darcs-hash:20080127144301-32816-bab1379fe84653d6d87accdb7c5e47aba0621079.gz
2008-01-26ManageDocks: add emptyLayout definition for supporting the new decoration ↵Andrea Rossato1-0/+3
framework darcs-hash:20080126185936-32816-eaeed6cf2631348fbe1640c778397c6883dae174.gz
2008-01-28grammar fixLukas Mai1-1/+1
darcs-hash:20080128175059-462cf-b2a4cc83feb75af4af9745144846b9515140b042.gz
2008-01-02cleared up transience to better highlight how to use ManageHooks properlyxmonad-contrib1-5/+3
The initial patch that extended the EDSL for writing ManageHook rules did not come with a good example on how to use it. This patch ammends that. 'move' is an example of how to write a rule to resolve a Query (Maybe a) into something tangible. 'move'' is an example of how to write a rule isolating window managing code from the rest ofthe mess the EDSL creates. darcs-hash:20080102074810-cfbce-af71f2a26e887a21a616302407deb42edc31ac6b.gz
2008-01-01expands the EDSL for performing actions on windowsxmonad-contrib1-19/+65
This patch adds a few types of relationships and operators for managing windows with rules. It provides grouping operators so the X action can access the quantifier that was matched or not matched. It provides a formalism for predicates that work in both grouping and non grouping rules. It could do with some classes, so that there are fewer operators that always do the Right Thing (TM), but the Haskell Type system currently has some problems resolving types. Since I don't know enough about these high level things, it would be hard to create a GHC patch just to make it all work. darcs-hash:20080101174446-cfbce-3367d42b5411b92083a0e95cfc91d2e79770c527.gz
2007-12-31ManageDocks: some documentation fixesAndrea Rossato1-1/+4
darcs-hash:20071231101820-32816-2b9d19431d22dfa25d0e0e0baaa11a69b34ff92c.gz
2007-12-28-Wall police (again)Spencer Janssen1-2/+2
darcs-hash:20071228061841-a5988-8f51255824b0011f3114d6c645f27f1e11a0056c.gz
2007-12-27Fulfill the EWMH specification by listing the supported ATOMs, doesnt really ↵mail1-1/+9
make a differene AFAIK darcs-hash:20071227215607-c9905-79dc9d03d007173c22f7cf62d3abb0bfab766919.gz
2007-12-27display all visible windows on the current desktop in the pagermail1-1/+8
This is my best shot at modeling xmonad’s WM behaviour in a way that the Extended Window Manager Hints specification allows. Unfortunately, we can not tell the panel what size and position it should think the apps are. darcs-hash:20071227204349-c9905-d488d1719895335df5bb8bf157a266924533b27c.gz
2007-12-27Although I do not need the curr variable after all, this is nicermail1-4/+3
darcs-hash:20071227190113-c9905-048611490504d14ba845350be9e9d56ccabc1284.gz
2007-12-28Clear _NET_ACTIVE_WINDOW when nothing is focusedmail1-1/+2
darcs-hash:20071228154222-c9905-a2eeeb67751c810010d81b3021ccb033de770ec0.gz
2007-12-22AvoidStruts: add support for partial strutsSpencer Janssen1-40/+43
darcs-hash:20071222133425-a5988-16543bbea84d76ff79aaf9557c8a3754b5136a9e.gz
2007-12-22ManageDocks: ignore desktop windows alsoSpencer Janssen1-3/+4
darcs-hash:20071222113808-a5988-475ba24c43ec66b49cc621f029bf82a9800a478a.gz
2007-12-22WibbleSpencer Janssen1-1/+1
darcs-hash:20071222110641-a5988-8175f8b42ca8b1152dd10db1c6733156b7bc2c9e.gz
2007-12-22EwmhDesktops: add _NET_ACTIVE_WINDOW supportSpencer Janssen1-1/+8
darcs-hash:20071222110552-a5988-3554684ba6f88ed841d420465b8832ef8e0dd8bb.gz
2007-12-22EwmhDesktops: drop 'Workspace' from displayed workspace namesSpencer Janssen1-1/+1
darcs-hash:20071222104559-a5988-47a910e983723343afcd83a64da60efb4b69afdc.gz
2007-12-22Factor workspace sorting into a separate moduleSpencer Janssen2-24/+14
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-13Add support for _NET_WM_STRUT_PARTIALSpencer Janssen1-9/+11
darcs-hash:20071213021704-a5988-09d4118b417f1e25f1f640cc28d5e3fee5af8276.gz
2007-12-10ManageDocks: when there are struts on opposing edges, the right/bottom strutSpencer Janssen1-2/+3
was ignored. TODO: quickchecks darcs-hash:20071210021030-a5988-652b63b2819da15c435f7411bc8bc60d679a25a0.gz
2007-12-11new XMonad.Hooks.ManageHelpers moduleLukas Mai1-0/+86
darcs-hash:20071211183040-462cf-f8e47e21202ddcc60bde210469693fe70d08c337.gz
2007-12-09Update ManageDocks to the new ManageHook system, remove the gap setting code ↵Spencer Janssen1-84/+61
in favor of AvoidStruts darcs-hash:20071209134225-a5988-dd485354446755d6fff36168d11ba33fc91cd3e2.gz
2007-12-09XPropManage: haddock fixesAndrea Rossato1-4/+6
darcs-hash:20071209123246-32816-eea9f73c2d2486712d5a1214f9e7bd2312c79fbe.gz
2007-12-09SetWMName: haddock fixesAndrea Rossato1-1/+4
darcs-hash:20071209123227-32816-57806bc38b59cff3821a764115209da4e91292c9.gz
2007-12-09EwmhDesktops: haddock fixesAndrea Rossato1-10/+12
darcs-hash:20071209123204-32816-8d96af00b58cb6f10a0db616f1fe5ea9dbe90a83.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 XMonad.Operations importsSpencer Janssen2-2/+0
darcs-hash:20071208000547-a5988-874ebc1bfa76ad6ec2191812240fa2303b2d531c.gz
2007-12-08Prune more importsSpencer Janssen4-9/+0
darcs-hash:20071207235116-a5988-563cabf7a60a879beb0eb54c9e352a1c27b7729f.gz