aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ewmh-hook-orderallbery.b2015-04-231-1/+2
| | | | | | | | | Ignore-this: 8c9a760ab88179f6b975c5c05a5426a0 Reorder the application of hooks so that users' config is honored. Notably, this means setWMName works in startupHook instead of needing to do it repeatedly in logHook. darcs-hash:20150423154436-181ff-9773ca353e60c265e5831ee1bdbd993fd067b509.gz
* dynamicpropertyallbery.b2015-04-141-0/+71
| | | | | | | | | Ignore-this: b15d78f8970d08b252ead72a19709b06 Run a ManageHook from handleEventHook when a window property changes. You would use this to match e.g. browser windows whose title is not "final" until after the on-load hooks of the loaded document complete. darcs-hash:20150414153657-181ff-1a5b0740ebcbcbcc5ca8745b8548a32ab89f369d.gz
* add instance Default WallpaperConfAdam Vogt2015-03-101-0/+3
| | | | | | Ignore-this: 18e74f249b35726acd4b923ecce3085 darcs-hash:20150310214246-1499c-79c35435301e48bf076f95e31ee04d8ac9580aef.gz
* remove warnings and text dependency from H.WallpaperSetterAdam Vogt2015-03-101-43/+41
| | | | | | Ignore-this: e637d782c13bed48bafbc1458b3f983f darcs-hash:20150310192933-1499c-dee75cc95b2719a3245e7ce6c075bfa50fcfb9d2.gz
* Added the new hook WallpaperSetteranton.pirogov2015-02-281-0/+222
| | | | | | Ignore-this: 7cbb2ab0d8f9f606f50253deebcf4163 darcs-hash:20150228162335-8e960-f7e09c023272a44c7faa2be9b4dcfdcfd0c52201.gz
* address another bitSize/finiteBitSize warningAdam Vogt2014-12-221-1/+6
| | | | | | Ignore-this: 549e519d25080c77e605dc983f0d239e darcs-hash:20141222033300-1499c-23e5947e976180fd277084f29d4f808474eace25.gz
* use FiniteBitSize with ghc >Adam Vogt2014-08-151-1/+7
| | | | | | Ignore-this: 90f855fd72406fb3d2640a133d499188 darcs-hash:20140815051136-1499c-ba127cec9ea6d28bdc8372ab4a506ee74f047fa6.gz
* debug-managehookallbery.b2014-08-031-0/+100
| | | | | | | | | | | | | | Ignore-this: 51f9255b496cca79e4a53e274c400ecc A set of hooks, and convenience combinators, to help with ManageHook debugging. Ordinary users may well want to use debugManageHookOn in normal configs, specifying a key sequence which can be pressed before running a command in order to capture debug information just for that command's main window. This is especially useful when trying to diagnose issues such as programs that do not play well with SpawnOn, or ManageHook matching on 'title' when the program does not set the window title until after it is mapped. darcs-hash:20140803020601-181ff-78e3735233c7af1d65d1aa3b2b6dbfead1a987b7.gz
* debug-debugallbery.b2014-08-031-48/+65
| | | | | | | | | Ignore-this: cbb2b1d99293e3a4d02a256c2733aeb0 Various fixes and enhancements to DebugWindow and DebugStack. ManageDebug requires these fixes, but some of them are significant even if not using ManageDebug. darcs-hash:20140803020530-181ff-f11b9446cddb31d970d1e227e63ec6ec5a45a0d2.gz
* derive Applicative instances to suppress AMP warningAdam Vogt2014-07-101-0/+2
| | | | | | Ignore-this: c2110d07bccc61462c3fbf73c900aaa1 darcs-hash:20140710163950-1499c-ee7151d0314d7c5f154782c2099a02377311aaf3.gz
* ServerMode properly indentAdam Vogt2013-12-191-1/+1
| | | | | | Ignore-this: 761b39c3e3c90b6123f068e8b1d34e5d darcs-hash:20131219201440-1499c-1b093fc7a80b26cb93dd51e455038f275914a2e5.gz
* remove ServerMode tabsAdam Vogt2013-12-191-5/+5
| | | | | | Ignore-this: f21448c248ec0ac289c309ed964ebcff darcs-hash:20131219201000-1499c-17d24672746258c1681235524e14064dadfe78d9.gz
* fix -Wall ServerModeAdam Vogt2013-12-191-4/+4
| | | | | | Ignore-this: 708dd5fc60f43dee3d1da085002052f darcs-hash:20131219181030-1499c-cdff20b6f4bda42242b5533a2c1f75e9ccd69d93.gz
* documentation note that ServerMode is similar to wmctrlAdam Vogt2013-12-191-1/+2
| | | | | | Ignore-this: 3215bdf1c698c798eca8ed7f62a0f591 darcs-hash:20131219180748-1499c-478cef03095275ad2a43c5c64dda5b4e4e57d406.gz
* Generalized XMonad.Hooks.ServerModepolson22013-12-161-41/+108
| | | | | | Ignore-this: e58da3b168a1058f32982833ea25a739 darcs-hash:20131216025100-92c7a-150574b67a1becbb0e5a09a9b2193d3dee5722dd.gz
* fix UrgencyHook and add filterUrgencyHookAdam Vogt2013-09-251-1/+17
| | | | | | Ignore-this: 3b7c62275701e6758397977c5c09b744 darcs-hash:20130924224738-1499c-ab95229d2c111aa4f438df0a03e2dfd4429a5a55.gz
* export XMonad.Hooks.UrgencyHook.clearUrgency (issue 533)Adam Vogt2013-09-231-1/+1
| | | | | | Ignore-this: dafe5763d9abcfa606f5c1a8cf5c57d6 darcs-hash:20130923031349-1499c-4f7978aa0d6801c4cc1a1cc16f817639aaa8bbdc.gz
* minor documentation fix: manageDocks doesn't do anything with struts, so ↵Daniel Wagner2013-08-141-2/+1
| | | | | | | | don't claim it does Ignore-this: a2610d6c1318ac0977abfc21d1b91632 darcs-hash:20130814125106-76d51-cf0472bdd32e82e5f5a0d11aaedb9d5396f420e7.gz
* Haddock formatting in H.MinimizeAdam Vogt2013-07-231-1/+1
| | | | | | Ignore-this: 5db3186a51dec58f78954466ded339cb darcs-hash:20130723155658-1499c-42c1db39506d74165c7d16c82efed70773689c19.gz
* 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
* DynamicBars-use-ExtensibleStategopsychonauts2013-06-181-25/+24
| | | | | | | | | | | | | | Ignore-this: afacba51af2be8ede65b9bcf9b002a7 Hooks.DynamicBars was previously using an MVar and the unsafePerformIO hack ( http://www.haskell.org/haskellwiki/Top_level_mutable_state ) to store bar state. Since ExtensibleState exists to solve these sorts of problems, I've switched the file over to use unsafePerformIO instead. Some functions' types had to be changed to allow access to XState, but the public API is unchanged. darcs-hash:20130618074755-1e6bb-2fd1caa6f26c1c75c83bf0ef9e03a8f6c9225896.gz
* use Data.Default wherever possible, and deprecate the things it replacesDaniel Wagner2013-05-282-24/+28
| | | | | | Ignore-this: 898458b1d2868a70dfb09faf473dc7aa darcs-hash:20130528013909-76d51-863278165b6f149c47b08b31b34e85ddcab19f1f.gz
* eliminate references to defaultConfigDaniel Wagner2013-05-2818-32/+32
| | | | | | Ignore-this: 37ae613e4b943e99c5200915b9d95e58 darcs-hash:20130528005825-76d51-89eaf6f1aeeb02086371f9c4ae2afade984f62e0.gz
* Remove misleading comment: we definitely don't support ghc-6.6 anymoreAdam Vogt2013-05-141-1/+0
| | | | | | Ignore-this: 2d071cb05709a16763d039222264b426 darcs-hash:20130514215851-1499c-96ec4bde7d32178cb76b1573316346cd7ff004d3.gz
* Cache results from calcGap in ManageDocksAdam Vogt2013-04-251-14/+38
| | | | | | | | Ignore-this: e5076fdbdfc68bc159424dd4e0f14456 http://www.haskell.org/pipermail/xmonad/2013-April/013670.html darcs-hash:20130425155811-1499c-6432d7807e4d18f45495d459381e510d20002be8.gz
* getAtomName is now defined in the X11 libraryDaniel Wagner2013-02-251-15/+0
| | | | | | Ignore-this: 3b9e17c234679e98752a47c37132ee4e darcs-hash:20130225180323-76d51-325c8a4f508e3e5932ca5955f8fb44dd55c8e3b8.gz
* Add EWMH DEMANDS_ATTENTION support to UrgencyHook.Maarten de Vries2013-02-121-10/+57
| | | | | | | | | Ignore-this: 5a4b314d137676758fad9ec8f85ce422 Add support for the _NET_WM_STATE_DEMANDS_ATTENTION atom by treating it the same way as the WM_HINTS urgency flag. darcs-hash:20130212181229-e67f5-0b4ac099df444e38cb3025b21076d49674aa4e4a.gz
* Unconditionally set _NET_WORKAREA in ManageDocksAdam Vogt2013-01-171-0/+8
| | | | | | Ignore-this: 9f57e53fba9573d8a92cf153beb7fe7a darcs-hash:20130117180851-1499c-e9ad10c3f203247cd8bc5120e1e3c15a9053ad93.gz
* Add X.H.WorkspaceHistoryDmitri Iouchtchenko2013-01-091-0/+74
| | | | | | Ignore-this: c9e7ce33a944facc27481dde52c7cc80 darcs-hash:20130109023307-7d114-b7e9156b6305334b707b63d04099e08a19bcc058.gz
* Address warnings from Debug modulesAdam Vogt2012-12-151-4/+5
| | | | | | | | | | Ignore-this: f97416ae4feffe4e5f9916d14d9e1524 The warnings were related to ghc-7.6 removing Prelude.catch (triggering warnings regarding the import hiding it), as well as defaulting of some numeric types. darcs-hash:20121215165525-1499c-d960b0029306b898656aae8b61279a707f490c0b.gz
* debug-hooksallbery.b2012-08-142-0/+1346
| | | | | | | | Ignore-this: 7f41c93fdd6643c687598d2fe07aad5d Hooks to print diagnostic information to stderr (usually .xsession-errors) to help debug complex issues involving the StackSet and received events. darcs-hash:20120813223821-181ff-63a79101b02b74c351344ae3d2768153a688ec7c.gz
* Remove trailing whitespace.Adam Vogt2012-11-094-6/+6
| | | | | | Ignore-this: 72e3afb6e6df47c51262006601765365 darcs-hash:20121109014156-1499c-45797b245e25e966e4ca337ee224b593aaac63a0.gz
* Use Control.Exception.catch explitly to avoid warningsAdam Vogt2012-11-091-3/+2
| | | | | | | | | | | | | | Ignore-this: 2cebdfe604c581f2b4a644e9aed726c7 The base that comes with ghc-7.6.1 no longer includes Prelude.catch; so these modules were changed so that there is no warning for import Prelude hiding (catch) At the same time these changes should be compatible with older GHCs, since the catch being has never been the one in the Prelude. darcs-hash:20121109013506-1499c-c593662b0780eb49287efcbfe0e9796f7dd57c73.gz
* Add missing type signatures.Adam Vogt2012-11-092-0/+5
| | | | | | | | | | | Ignore-this: f54f5d9907ae48d58c98de7f8eb1f8a For whatever reason, some patches applied were missing these signatures. While haddock has been able to include inferred signatures for a while, including type signatures makes it easier to see if and when types have been changed. darcs-hash:20121109012752-1499c-8ae303fbd7b4590f10d1c34ff9aed23c1be5c117.gz
* Rename variables "state" to avoid warnings about shadowingAdam Vogt2012-11-092-7/+7
| | | | | | | | | | | | Ignore-this: cd063d632412f758ca9fed6393521c8f XMonad core re-exports Control.Monad.State, which includes a function "state" if you happen to use mtl-2. Since there's a chance xmonad still works with mtl-1 avoid imports like: import XMonad hiding (state) darcs-hash:20121109012316-1499c-539514f4cd97ba8b18a8fbfd1a15333b46d962e1.gz
* Gut H.ICCCMFocus: issue 177 has been merged in core.Adam Vogt2012-11-081-17/+2
| | | | | | | | | Ignore-this: 937fe7f514ea6e36ee529e055e100e7f Keep the module for now: the LG3D bit might still be useful and there's no need to break configs unnecessarily. darcs-hash:20121108225716-1499c-4cc33999ce4d9866d6535fd878f33a8af4bbbc12.gz
* ewmh-eventhook-custompastorelli.mario2012-08-161-8/+13
| | | | | | | | Ignore-this: 95176f6d955d74321c28caafda63faa0 Add ewmhDesktopsEventHookCustom, a generalized version of ewmhDesktopsEventHook that takes a sort function as argument. This sort function should be the same used by the LogHook. darcs-hash:20120816153032-2383e-19bbca44d0d0b39996c2e46fb2c3ebd9470ce746.gz
* accept more windows as docksDaniel Wagner2012-08-231-2/+2
| | | | | | Ignore-this: 21d9b406c7e39cca2cc60331aab04873 darcs-hash:20120823124153-76d51-072eab9b52edc18a47d943319875586ae3c2b088.gz
* UrgencyHooks made available as Window -> X () functionsgopsychonauts2012-05-041-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
* Added isUnfocusedOnCurrentWS and fadeInactiveCurrentWSLogHook for better ↵Jesper Reenberg2012-03-291-6/+27
| | | | | | | | support of fading/opacity on multi monitor setups Ignore-this: d001a8aafbcdedae21ccd1d18f019185 darcs-hash:20120329141818-abfbf-4f0fac861df397ce6cb97fe10a3a7a4f9dd0e416.gz
* Use getXMonadDir to get the default xmonad directory.Julia Jomantaite2012-05-011-5/+3
| | | | | | Ignore-this: a075433761488b76a58a193aeb4e4a25 darcs-hash:20120501121427-418f8-4f45d50ad212741806d4919c8dde9067a8a74cbe.gz
* add-dynamic-bars-moduleBen Boeckel2012-03-161-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
* persist-togglehook-optionsBen Boeckel2012-03-111-1/+2
| | | | | | | | Ignore-this: 580bacb35b617c1198f01c5a7c0d3fef Save the state of ToggleHook options over a restart. darcs-hash:20120311050143-24e3f-3d50d3c3d9bcb5cc0af2fe7cd3d51ea78beb5c32.gz
* Add BorderUrgencyHook to XMonad.Hooks.UrgencyHookallbery.b2012-02-251-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
* X.H.EwmhDesktops note that fullscreenEventHook is not included in ewmhAdam Vogt2012-01-021-1/+4
| | | | | | | | Ignore-this: 92f15fa93877c165158c8fbd24aa2360 Just a documentation fix (nomeata's suggestion at issue 339). darcs-hash:20120102211404-1499c-922918275db160b19aeff5f8ebc935a91ba1a1c3.gz
* X.H.EwmhDesktops haddock formatting.Adam Vogt2012-01-021-1/+1
| | | | | | Ignore-this: cfff985e4034e06a0fe27c52c9971901 darcs-hash:20120102211203-1499c-e03c5f0dff170a542de6f1ef1c8fbbac54025b49.gz
* Export types to reduce haddock warnings.Adam Vogt2010-10-232-2/+4
| | | | | | Ignore-this: 1cac9202784711ce0fc902d14543bab0 darcs-hash:20101023195755-1499c-57c41357d20cbf0d57522ce99bdbfff7b686ed52.gz
* get ready for GHC 7.4: Num a no longer implies (Eq a, Show a)Daniel Wagner2011-11-151-1/+1
| | | | | | Ignore-this: faa34d69ddd27b98c6507740b42c9e97 darcs-hash:20111115022650-76d51-10a2e23210b65268ffa3aa606ebba72b6986e77e.gz
* GHC 7 compatDaniel Wagner2011-07-311-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
* 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