aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-08-23accept more windows as docksDaniel Wagner1-2/+2
Ignore-this: 21d9b406c7e39cca2cc60331aab04873 darcs-hash:20120823124153-76d51-072eab9b52edc18a47d943319875586ae3c2b088.gz
2012-05-04UrgencyHooks made available as Window -> X () functionsgopsychonauts1-1/+10
Ignore-this: 6a57cae1d693109b7e27c6471d04f50f Adds an UrgencyHook instance for the type Window -> X (), allowing any such functions to be used directly as UrgencyHooks. The Show and Read constraints were removed from the UrgencyHook class in order to permit this; these constraints were required only in a historical implementation of the module, which used a layout modifier. All existing configurations using UrgencyHooks should remain fully functional. New configs may make use of this modification by declaring their UrgencyHook as a simple Window -> X () function. darcs-hash:20120504062339-1e6bb-c452c421b9598394f422d90e4875aa7f834bf62f.gz
2012-03-29Added isUnfocusedOnCurrentWS and fadeInactiveCurrentWSLogHook for better ↵Jesper Reenberg1-6/+27
support of fading/opacity on multi monitor setups Ignore-this: d001a8aafbcdedae21ccd1d18f019185 darcs-hash:20120329141818-abfbf-4f0fac861df397ce6cb97fe10a3a7a4f9dd0e416.gz
2012-05-01Use getXMonadDir to get the default xmonad directory.Julia Jomantaite1-5/+3
Ignore-this: a075433761488b76a58a193aeb4e4a25 darcs-hash:20120501121427-418f8-4f45d50ad212741806d4919c8dde9067a8a74cbe.gz
2012-03-16add-dynamic-bars-moduleBen Boeckel1-0/+136
Ignore-this: 41347c8f894d8d0b5095dfad86784cf4 This adds the X.H.DynamicBars module. It allows per-screen status bars to be easily managed and dynamically handles the number of screens changing. darcs-hash:20120316002204-24e3f-67000bafe484d1ff78675210e30e8e73d88233f3.gz
2012-03-11persist-togglehook-optionsBen Boeckel1-1/+2
Ignore-this: 580bacb35b617c1198f01c5a7c0d3fef Save the state of ToggleHook options over a restart. darcs-hash:20120311050143-24e3f-3d50d3c3d9bcb5cc0af2fe7cd3d51ea78beb5c32.gz
2012-02-25Add BorderUrgencyHook to XMonad.Hooks.UrgencyHookallbery.b1-0/+26
Ignore-this: 9fac77914ff28a6e9eb830e8c9c7e21e BorderUrgencyHook is a new UrgencyHook usable with withUrgencyHook or withUrgencyHookC; it allows an urgent window to be given a different border color. This may not always work as intended, since UrgencyHook likes to assume that a window being visible is sufficient to disable urgency notification; but with suppressWhen darcs-hash:20120225082616-181ff-86834feb1bc8299474b0c6364f617af38c6222b7.gz
2012-01-02X.H.EwmhDesktops note that fullscreenEventHook is not included in ewmhAdam Vogt1-1/+4
Ignore-this: 92f15fa93877c165158c8fbd24aa2360 Just a documentation fix (nomeata's suggestion at issue 339). darcs-hash:20120102211404-1499c-922918275db160b19aeff5f8ebc935a91ba1a1c3.gz
2012-01-02X.H.EwmhDesktops haddock formatting.Adam Vogt1-1/+1
Ignore-this: cfff985e4034e06a0fe27c52c9971901 darcs-hash:20120102211203-1499c-e03c5f0dff170a542de6f1ef1c8fbbac54025b49.gz
2010-10-23Export types to reduce haddock warnings.Adam Vogt2-2/+4
Ignore-this: 1cac9202784711ce0fc902d14543bab0 darcs-hash:20101023195755-1499c-57c41357d20cbf0d57522ce99bdbfff7b686ed52.gz
2011-11-15get ready for GHC 7.4: Num a no longer implies (Eq a, Show a)Daniel Wagner1-1/+1
Ignore-this: faa34d69ddd27b98c6507740b42c9e97 darcs-hash:20111115022650-76d51-10a2e23210b65268ffa3aa606ebba72b6986e77e.gz
2011-07-31GHC 7 compatDaniel Wagner1-1/+4
Ignore-this: 17a43a709e70ebccc925e016d7057399 * true error: more modules export foldl/foldl'/foldr, so explicitly use the Data.Foldable one * -Werror error: transition from Control.OldException to Control.Exception, assuming everything was IOException darcs-hash:20110731170850-76d51-71271524485f6d10f84521f271182bea5085d400.gz
2011-07-15Correct H.DynamicLog.dynamicLogXinerama comment. Wuzzeb's patch at issue 466.Adam Vogt1-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
2011-06-09Move tests from ManageDocks to tests/Adam Vogt1-13/+12
Ignore-this: 31d51fae83d88e15cdb69f29da003bf7 The change to use a newtype for RectC is kind of ugly, but this way instances are less likely to conflict in the tests. darcs-hash:20110609040220-1499c-3a64ffa1d978d1dcebf648774619b192b3b244e3.gz
2011-05-28X.H.FloatNext: export X.H.ToggleHook.runLogHookTomas Janousek1-1/+2
Ignore-this: 5fd923e800a1a3f0977f126df7882c54 Otherwise the user has to import XMonad.Hooks.ToggleHook as well, which he didn't have to in earlier versions. darcs-hash:20110528191700-c9ff5-9eed2af08e302cda2873cbfc9d895add58cacfe9.gz
2011-05-15add-willhook-functionBen Boeckel1-0/+5
Ignore-this: 9db50eec5b91baa973b4a92c72aeceaf Adds a function that hooks into whether the hook will be triggered on the next request. darcs-hash:20110515191718-24e3f-997c368f871dfcfa594662b9fb889ceb9a327fef.gz
2011-05-15use-map-in-toggle-hookBen Boeckel1-20/+9
Ignore-this: 2bf69aa1a875e7ef1748a5ab51b33daa Use "Data.Map String (Bool, Bool)" instead of "[(String, (Bool, Bool))]" in X.H.ToggleHook. darcs-hash:20110515191418-24e3f-e1e888cd721aec677bd68f2ad4ed806af4926381.gz
2011-05-04Compile with ghc7Mats Rauhala1-2/+1
Ignore-this: 218d2e19835f1e4315c01bd6214899ce darcs-hash:20110504192455-af521-ba19a95226d2527af9fbad8ed902982f2db567db.gz
2011-02-26XMonad.Hooks.FadeWindows: A generalized window fading hookBrandon S Allbery KF8NH1-0/+221
Ignore-this: f21d1085ecca26602631f46c45bc198b darcs-hash:20110226002436-8238f-94884b9edfc4117dba16642bb1f17a719abbbe25.gz
2011-02-24XMonad/Hooks/DebugKeyEvents - debug helper to see what keys xmonad seesBrandon S Allbery KF8NH1-0/+107
Ignore-this: 5a6a99b7fcc31236152a82aa9c2cda16 darcs-hash:20110224023613-8238f-25d3f73ee0b88c110e58ea8dc008010b4582886d.gz
2011-04-12XMonad.Hooks.FloatNext: issue #406, make FloatNext use ToggleHookgwern01-46/+13
Ignore-this: d06aecd03be0cbd507d3738dfde6eee7 darcs-hash:20110412015217-f7719-0f7ca52baf161302f44b5c4c671b5b6b753a3a85.gz
2011-04-12issue #406: ben boeckel <mathstuf@gmail.com> +XMonad.Hooks.ToggleHookgwern01-0/+175
Ignore-this: 125891614da94a5ac0e66e39932aa17e darcs-hash:20110412015127-f7719-b454f97efad45c01418f606303595e8369b81f4e.gz
2011-01-06H.ICCCMFocus had atom_WM_TAKE_FOCUS incorrectly removedAdam Vogt1-1/+7
Ignore-this: c566320f252d9fe717080e2da37ff262 It is possible that this atom should be defined in the X11 library, but fix the build of contrib for now. In any case, this would have to wait for a change and release of the X11 binding. rolling back: Wed Jan 5 22:38:39 EST 2011 Adam Vogt <vogt.adam@gmail.com> * Remove accidental atom_WM_TAKE_FOCUS from H.ICCCMFocus The XMonad module exports this already M ./XMonad/Hooks/ICCCMFocus.hs -7 +1 darcs-hash:20110106192052-1499c-00f08381db873f22c3b4b213f2ee81d4e38ee5a4.gz
2011-01-06Remove accidental atom_WM_TAKE_FOCUS from H.ICCCMFocusAdam Vogt1-7/+1
Ignore-this: 318d60c8cf4ae4f22a7500948a40ebaf The XMonad module exports this already darcs-hash:20110106033839-1499c-1c0085216af2bc3d460ab26a7be21dae85c83a30.gz
2011-01-05Java swing application focus patchhaskell1-0/+57
Ignore-this: 301805eb559489d34d984dc13c0fa5d0 darcs-hash:20110105032535-bbeb2-893cd5340a5c6a8f6d459a4e0a35d5e16233711d.gz
2010-10-01Orphan my modulesmoserq2-2/+2
Ignore-this: 781ebf36f25a94df96fde5f7bb7bc53e darcs-hash:20101001104300-88fd0-873c177e11b9e4bed41fc29048e45ca165e369f2.gz
2010-07-06X.H.ManageDocks: event hook to refresh on new docksTomas Janousek1-0/+15
Ignore-this: 96f931aa19c45acd28bdc2319c6a0cb6 darcs-hash:20100706185834-c9ff5-8f6b33d34eee88122fdb1371703f7924061d2fd9.gz
2010-07-28Minimize: Replaced calls to 'sendMessage' (BW.focusDown) and 'windows' with ↵Jan Vornberger1-1/+1
alternative methods Ignore-this: 67257480b7b93181967a806fedf6fbc5 Calling these functions during message handling results in the loss of layout state. This fixes a number of bugs related to the combination of X.L.Minimize with a decoration. darcs-hash:20100727224841-594c5-c8ddec3ae634ec96103e332433066b5173a0002a.gz
2010-07-27CurrentWorkspaceOnTop: proper reimplementation of XMonad.OperationJan Vornberger1-3/+10
Ignore-this: 101f55913bf836d1d87863b4c05d0665 Fixes bugs in combination with stateful layouts and floating windows darcs-hash:20100727194154-594c5-09624ed36bbbf81e245d827497a49897043a928d.gz
2010-06-16A hook to handle minimize/restore window manager hints.Justin Bogner2-3/+56
Ignore-this: c562ce1df81bce9a7dc5e7fe2dc67a43 XMonad.Hooks.Minimize handles both minimize and restore messages. Handling restore messages was already done in RestoreMinimized, which this module intends to replace. darcs-hash:20100616051124-18f27-729a41e41728de0e8c32f53032633d34b92ebf0f.gz
2010-06-15remove decodeInput/encodeOutputgwern01-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
2010-06-03PositionStoreHook: take decoration into accountJan Vornberger1-10/+16
Ignore-this: 72192c7cabeaeb744711b651ac3ffc65 darcs-hash:20100602223015-594c5-27dd70547845ce43c3a5fedd504cf8b5255b1d3e.gz
2010-06-02PositionStoreHook: take docks into accountJan Vornberger1-1/+6
Ignore-this: 6ffa63f22e9b511a9d28bc1c04195a08 darcs-hash:20100602215048-594c5-43fa479fd3dd4b34dbc38097d2f8540a0b7ebe89.gz
2010-04-16Use imported `fi' alias for fromIntegral more often.Adam Vogt2-5/+2
Ignore-this: 51040e693066fd7803cc1b108c1a13d5 Also moves `fi' into U.Image to avoid cyclic imports, though XUtils sill exports that definition. darcs-hash:20100416212939-1499c-a12428074d873b1eaea197e1b79c0ca07a96b05f.gz
2010-03-30X.H.UrgencyHook: performance fixTomas Janousek1-2/+4
Ignore-this: b626166259858f16bc5051c67b498c68 cleanupUrgents would update the Map in extensible state 2-times the number of visible windows, resulting in excessive memory usage and garbage collection. This seems to make it behave correctly. darcs-hash:20100330141341-c9ff5-640ee7327b6818fd5a7560af8296056c9c9f3803.gz
2010-01-17Update my e-mail addressquentin.moser2-4/+4
Ignore-this: f5efc4d494cb001d3cfbe2b2e169cbe5 darcs-hash:20100117011109-5ccef-9bf858e60dffc4321b5e324c76b8b72386051c76.gz
2010-03-19X.H.DynamicLog: let the user of xmonadPropLog choose property nameTomas Janousek1-6/+11
Ignore-this: 17c0cac2a469e0b70b0cea86f3aeed51 darcs-hash:20100319214631-c9ff5-e1515d6d27fdecb2bf28805918d373d0d5445403.gz
2010-02-22Use imported 'fi' in H.ScreenCornersAdam Vogt1-3/+1
Ignore-this: 45ceb91d6c39f29bb937aa29c0bc2e66 darcs-hash:20100222150633-1499c-43d850ac038ee20a861ae90d3c678da4d6cc2167.gz
2010-02-22X.H.ScreenCorners typosNils Schweinsberg1-4/+4
Ignore-this: 805ba06f6215bb83a68631f750743830 darcs-hash:20100222115142-1f2e3-d571e8da04d250c0d2510d77691e423bbb57249f.gz
2010-02-22X.H.ScreenCorners rewritten to use InputOnly windows instead of waiting for ↵Nils Schweinsberg1-59/+121
MotionEvents on the root window Ignore-this: f9866d3e3f1ea09ff9e9bb593146f0b3 darcs-hash:20100222112459-1f2e3-126c0b9c4d4c028b3da059b88ae5b1a7819264ab.gz
2010-02-22[patch] X.H.ScreenCorners: move the mouse cursor to avoid loopsNils Schweinsberg1-5/+8
Ignore-this: c8d2ece0f6e75aba1b091d5f9de371dc darcs-hash:20100221231550-1f2e3-903c0adcd9fece225eb73730bbf85b688fedd987.gz
2010-02-22New extension: XMonad.Hooks.ScreenCornersNils Schweinsberg1-0/+107
Ignore-this: c3a715e2590ed094ed5908bd225b185e darcs-hash:20100221230259-1f2e3-5ab2ebd73348ba8c870f1abfac7dd2bacfe5c96d.gz
2009-12-28minor style changesDaniel Wagner1-8/+7
Ignore-this: 605de753d6a5007751de9d7b9f8ab9ca darcs-hash:20091228173016-76d51-9a0b36d3b23bd2ad41f36e50c029d9d17a506d6e.gz
2010-01-12suppress some warnings under ghc 6.12.1 and clean up redundant imports to ↵Brent Yorgey5-6/+1
get rid of some others. Ignore-this: bf3487b27036b02797d9f528a078d006 darcs-hash:20100112172507-1e371-1b466e62ac727b196330c72c8553116282ef5702.gz
2009-12-19Style changes in EwmhDesktopsAdam Vogt1-11/+8
Ignore-this: 905eff9ed951955c8f62617b2d82302e darcs-hash:20091219003824-1499c-8431cb12b4658c0143a41ecdbdb17f731bfd8f12.gz
2009-12-14Add support for fullscreen through the _NET_WM_STATE protocolaudunskaugen1-1/+36
Ignore-this: 430ca3c6779e36383f8ce8e477ee9622 This patch adds support for applications using the gtk_window_fullscreen function, and other applications using _NET_WM_STATE for the same purpose. darcs-hash:20091214135119-c4ed7-074a3df86fd22b8b0002c1020a5a94f89d8f597c.gz
2009-11-29Module to ensure that a dragged window always stays in front of all other ↵Jan Vornberger1-0/+62
windows Ignore-this: a8a389198ccc28a66686561d4d17e91b darcs-hash:20091129004506-594c5-4266465b2a3105e45f1ff9838d9e98dd14390106.gz
2009-11-21X.H.DynamicLog: fix xmonadPropLog double-encoding of UTF-8Tomas Janousek1-4/+4
Ignore-this: bde612bbd1a19951f9718a03e737c4ac dynamicLogString utf-8 encodes its output, xmonadPropLog shouldn't do that again. darcs-hash:20091121004829-c9ff5-64b4d4052ae78220e8db863b4dbc77b0a6297174.gz
2009-11-21X.H.DynamicLog: make documentation for 'dzen' and 'xmobar' slightly more clearBrent Yorgey1-3/+9
Ignore-this: c9a241677fda21ef93305fc3882f102e darcs-hash:20091121170739-1e371-18e128232f780146a0d07f97b9f12f77a82f98e5.gz
2009-11-19X.H.ManageDocks: ignore struts that cover an entire screen on that screenTomas Janousek1-5/+8
Ignore-this: ad7bbf10c49c9f3e938cdc3d8588e202 Imagine a screen layout like this: 11111111 11111111 11111111 222222 <--- xmobar here 222222 222222 When placing xmobar as indicated, the partial strut property indicates that an entire height of screen 1 is covered by the strut, as well as a few lines at the top of screen 2. The original code would create a screen rectangle of negative height and wreak havoc. This patch causes such strut to be ignored on the screen it covers entirely, resulting in the desired behaviour of a small strut at the top of screen 2. Please note that this semantics of _NET_WM_STRUT and _NET_WM_STRUT_PARTIAL is different to what is in wm-spec. The "correct" thing to do would be to discard the covered portion of screen 1 leaving two narrow areas at the sides, but this new behaviour is probably more desirable in many cases, at least for xmonad/xmobar users. The correct solution of having separate _NET_WM_STRUT_PARTIAL for each Xinerama screen was mentioned in wm-spec maillist in 2007, but has never really been proposed, discussed and included in wm-spec. Hence this "hack". darcs-hash:20091119145043-c9ff5-b4494537b40d2d44abec5fbcec8ea7c3c3ef1a6b.gz