aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-10-29Fix typo in H.FadeInactive documentationAdam Vogt1-1/+1
Ignore-this: b2af487cd382416160d5540b7f210464 darcs-hash:20091029165736-1499c-883218d2ff7fee9d8bf9fb1332652e526263f7d7.gz
2009-10-28X.H.ManageHelpers: added currentWs that returns the current workspaceIsmael Carnales1-0/+5
Ignore-this: dcd3dac6bd741d26747807691f125637 darcs-hash:20091028193519-6553f-b668fcfb822718a48caea74d21860de505a467c1.gz
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-10-23Add ewmh function to set all EWMH settings in one stepSpencer Janssen1-4/+9
Ignore-this: 4d79c1e156f56882036ce43e70cce6f2 darcs-hash:20091023034630-25a6b-3a5055d46b632bd7c898e2904f145718f392bd6e.gz
2009-10-22Refer to modm as the current modMaskAdam Vogt5-15/+15
Ignore-this: d097c7dc1746c55e1d4078a7148f9d5a This makes the config suggestions consistent with the current template. darcs-hash:20091022041126-1499c-5dd63076fdd71a61276cfc8e648bada81d9cc586.gz
2009-10-11Move EWMH support initialization to a startupHookJustin Bogner1-20/+10
Ignore-this: bd35654d0afb0a2fec73b16ab7ac38b1 Set EWMH support atoms and the window manager name in a startup hook, rather than in the log hook: the log hook occurs far too frequently for it to make sense to set constants with it. darcs-hash:20091011053538-18f27-82f5abfaeba77a65ca836222d089c92d581b25bf.gz
2009-10-20Remove H.SetCursor: U.Cursor is preferredAdam Vogt1-47/+0
Ignore-this: 5796fe86879c2ce02ef12150e0a8603a darcs-hash:20091019235722-1499c-bc320e621daf6860c26989a841c0eaadcbabe5be.gz
2009-10-05Finish a sentence in H.ManageDocks haddocks.Adam Vogt1-1/+1
Ignore-this: 43f4ffc627b3db204d74ed361ef939cf darcs-hash:20091005165312-1499c-d406c742ce083a814826acd31d89b10120cfb250.gz
2009-10-05Add a SetStruts message to H.ManageDocks.Adam Vogt1-13/+43
Ignore-this: 98a76bb48b8a569b459cadc4e6412c06 This patch also uses Data.Set instead of [] for the AvoidStruts constructor to simplify the SetStruts implementation. darcs-hash:20091005164221-1499c-3339a4b57ddaba0e6cb6aaf08fcfb1567063ae35.gz
2009-10-04Fixed guard in WorkspaceByPos - condition got switched during transformationJan Vornberger1-1/+1
Ignore-this: 6685ef8ddff55c7758c2b77cfc65cbba darcs-hash:20091004085232-594c5-b6bd64420dfac2c551501bd7e0a2aaa7073f166c.gz
2009-09-15New module : X.H.SetCursormail1-0/+47
Ignore-this: 2f0641155ada05dae955cd6941d52b70 Idea from Andres Salomon (http://www.haskell.org/pipermail/xmonad/2009-September/008553.html). darcs-hash:20090915101327-e34a6-113517da012281d809388a260dd7ab5ca6e2078d.gz
2009-10-03Hyperlink modules named in WindowMenu, RestoreMinimized, and MinimizeAdam Vogt1-1/+1
Ignore-this: 5eb1496fd258fa0c43fb0a58136ccfff darcs-hash:20091003151325-1499c-7a29a60a629816ba4b10229481550fa672f1c957.gz
2009-09-30Use ErrorT instead of nested case for H.WorkspaceByPosAdam Vogt1-24/+13
Ignore-this: c3f96fbbf0ce917c4962b297dea3b174 darcs-hash:20090930204914-1499c-a1a2913a3a5356119c7ebf936731e5bc1b25ba9c.gz
2009-09-30In a multi-head setup, move windows with a non-zero position upon creation ↵Jan Vornberger1-0/+65
to the right workspace. Ignore-this: 4efdb9d64f33d70c48fb3797b635513e Useful in a dual-head setup: Looks at the requested geometry of new windows and moves them to the workspace of the non-focused screen if necessary. darcs-hash:20090930123341-594c5-efd2b02acd2310e0ab55c4fee482fc88cf0c79df.gz
2009-09-29EventHook to restore minimized windows from taskbar (re-recorded from ↵Jan Vornberger1-0/+49
Bluetile repo) Ignore-this: 673b003c4e07b591046ed01e5f27a7ec darcs-hash:20090928231549-594c5-6a640551cd229bffdb477ded4756be5517b81d7a.gz
2009-09-19Factor out direction types and put them in X.U.TypesDaniel Schoepe1-18/+8
Ignore-this: b2255ec2754fcdf797b1ce2c082642ba This patch factors out commonly used direction types like data Direction darcs-hash:20090919191717-7f603-09c283e51a0b886d260008676d71e3daf31f4394.gz
2009-08-28Return True in X.H.FadeInactive.isUnfocused if current workspace is empty. ↵Adam Vogt1-1/+1
(dschoepe) Ignore-this: 56a3dac874f6430f10ad23870a4be38a darcs-hash:20090828214537-1499c-746e07cd364f9c4bdf12bb7f633b761bc78953fe.gz
2009-08-26Actually execute the correct command when giving user-defined commands to ↵Jan Vornberger1-2/+2
ServerMode Ignore-this: 571e4d3ec5bcae56987c6e3b85b800b6 darcs-hash:20090825233828-594c5-6d445f87083d4c7d6ffcf99a467880a0730bac00.gz
2009-08-26Preserve backwards compatibility with H.ServerModeAdam Vogt1-4/+10
Ignore-this: cd5df0c49e1d0f07ede1994da9c4c865 darcs-hash:20090825220348-1499c-8f18eb208a02d11f0b7455a75021df4c927b38bd.gz
2009-08-25Let the user decide which commands to use in X.H.ServerModeDaniel Schoepe1-5/+8
Ignore-this: 3a1b95f85253ce6059f4528e23c5a3d3 darcs-hash:20090825101630-7f603-100cf20462e6cb4214e0737223f1b9141091f1b5.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-08-22Add backwards compatability in X.H.FadeInactiveDaniel Schoepe1-1/+1
Ignore-this: d2ef91429d80fde5126b2aa8f0de9b1f darcs-hash:20090821225646-7f603-f88c0e9cc292247e44175343f9b3a91e03c98afb.gz
2009-08-21More flexible interface for X.H.FadeInactiveDaniel Schoepe1-27/+31
Ignore-this: e905086d3fb640cbccf4eec2f11f293 This patch allows setting the opacity on a per-window basis and lets the user specify it as a percentage instead of an Integer between 0 and 2^32-1. darcs-hash:20090821203936-7f603-b7753508f41955036232b43effd5e93ab73dfc2f.gz
2009-08-13Don't use tabs in EwmhDesktopsDaniel Schoepe1-3/+3
Ignore-this: 59b1ade240aa75cf448620cd7a37579b darcs-hash:20090813200119-7f603-2e4dbfc698796446602334609b244d79e5276f61.gz
2009-08-13Do not warn about unknown ClientMessageEventsJoachim Breitner1-1/+4
Ignore-this: d02940888cd54cf209d6e5f4847548ab Not all client messages are are meant to be handled by the wndow manager, so do not complain when one is unknown. darcs-hash:20090812222917-23c07-105d12c2d48165f574345695c13a802b2adb1b4c.gz
2009-08-09fix UrgencyHook docs (\a -> \\a in Haddock)Brent Yorgey1-1/+1
Ignore-this: a1fcfe2446184a8cea4553fd68565b58 darcs-hash:20090809184016-1e371-6dd9048634ffaccfbebb1461f5f8bad774dee82d.gz
2009-07-05Remove trailing whitespace from many modulesAdam Vogt5-60/+60
Ignore-this: 1e28ff0974578d329bd3d593c1a5125e darcs-hash:20090705201205-1499c-581bd0bb43ab6096eccded6edbd54a7a2007b0d9.gz
2009-06-05X.H.ManageHelpers: add two new helper functions, doFloatDep and doFloatAtBrent Yorgey1-9/+23
darcs-hash:20090605030113-1e371-6f55d154e061c7fcfe3ad68a11162f7cb655d48d.gz
2009-06-26Replace most -fglasgow-exts with specific LANGUAGE pragmasAdam Vogt1-1/+1
Ignore-this: 2274fdd689b0576a76d9f3373e9c7159 darcs-hash:20090626025457-1499c-1d7bdb15732bb3d45e853e140f66fe38fc4fcafa.gz
2009-06-24Use -fwarn-tabs for test, remove tabsAdam Vogt1-1/+1
Ignore-this: 84dfa0d9d50826527abbe7ff6acf4465 darcs-hash:20090624043831-1499c-2086e714723091fae9e3697df370a0634152f0a4.gz
2009-06-18Remove Hooks.EventHookDaniel Schoepe1-107/+0
Ignore-this: 14c32fddc8b7b0561e97eb1d09e27fd7 The Hooks.EventHook module is superseded by handleEventHook from core and should no longer be needed. darcs-hash:20090618104318-cb1c6-43b2f002f74c3eab3a8ea916caa17ea77bae0e16.gz
2009-06-18Correct many typos in the documentation, consistent US spellinggAdam Vogt2-9/+9
Ignore-this: cf6dcf340fa6cc010f7879f188d376f5 darcs-hash:20090618003729-1499c-c927c08cda268b94b350f6419a64df8ca1e863d4.gz
2009-05-27FloatSnap - calculate gaps instead of snapping against unmanaged windowsAnders Engstrom1-1/+1
Ignore-this: 4378f4c6c4f383c9a35acb503409d865 This patch will remove snapping against unmanaged windows, but instead calculate a new rectangle with all gaps (computed by ManageDocks) removed. This new rectangle is used to snap against. (Both the inside and outside of the rectangle.) This will remedy the issue of snapping against multiple layers of the same window, additionally there will be no snap-points between windows on the same side. So if you are running two dzen side by side with half the screen each. You will not automatically have a snap-point in the middle. Naturally, this patch will change which function is exported from ManageDocks. darcs-hash:20090526222942-8978f-2d110fbeb4777d6b019b7f0f647eb2251196b5e8.gz
2009-05-25A.FloatSnap snap to unmanaged docks tooAdam Vogt1-1/+4
Ignore-this: 46a856cae139d2e224ded985a9866ecf darcs-hash:20090525001834-1499c-c4ef9061c280a7f5c7b3a698d86548e8d83d7940.gz
2009-05-03Add H.InsertPosition: add new windows to different positions in a workspaceAdam Vogt1-0/+74
Ignore-this: 7e7d5fa5b42698799cabe600159a75f7 darcs-hash:20090503020303-1499c-03bd01137979cfbbe6aaebe4981c03c5597818ab.gz
2009-02-20Properly encode destop names before sending them to X server in ↵Khudyakov Alexey1-2/+2
XMonad.Hooks.EwmhDesktops Ignore-this: 6a22ea8bdc49f8484e18f04aaeb545ae darcs-hash:20090220184137-7ba7e-e2eb4702acb468ade70e78e22b32c3137ba7214d.gz
2009-04-09X.H.DynamicLog: provides trim, inverse of padsean.escriva1-1/+7
Ignore-this: 9d92ff592f2bc4f041b85d1314058fdc darcs-hash:20090409163513-29414-6e265fe7109d15b55b040514bca469d5c68f2bc4.gz
2009-04-15Improve composability of X.H.Place, drop simple(st)Float supportquentin.moser1-60/+107
Ignore-this: 8a0fb64aa0db27b242b7ad4bcba1a3ca darcs-hash:20090415184550-5ccef-fcc9d4152b7d181a9380121af147d1a0782b192c.gz
2009-04-09Fixed X.H.Place.positionquentin.moser1-2/+2
Ignore-this: 29e3936800194916a859976ff126dbfe darcs-hash:20090409084946-5ccef-e312bdd8cb5e5474064a18ca9f026ab11a66d6e1.gz
2009-04-08Module for automatic placement of floating windowsquentin.moser1-0/+413
Ignore-this: 1874df995fc02a0b80051db39d91a2e1 darcs-hash:20090408080953-5ccef-4fc6631021663d259cbc80a3ef4fa3d31be74f00.gz
2009-04-15X.H.FloatNext: new module, float the next spawned window(s)quentin.moser1-0/+157
Ignore-this: 95e1c9daa3ca43bfb058f6a881a97f3a darcs-hash:20090415181907-5ccef-14c9ead9acaf711e49c700a894581fca51c2a2d1.gz
2009-03-09More flexibility for H.FadeInactiveDaniel Schoepe1-9/+22
Ignore-this: ebfa2eadb439763276b372107cdf8d6c darcs-hash:20090309160020-cb1c6-28bb80bf52bbf1093862164abe0b5fc0ea3a2041.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
2009-03-08X.H.ManageHelpers: export isInPropertyRoman Cheplyaka1-0/+1
darcs-hash:20090308201112-3ebed-6aedf6886f72574e53572bf12f7e3022e8c40bb8.gz
2009-02-09Fix an undefined in EwmhDesktopsDaniel Schoepe1-1/+1
Ignore-this: f60a43d7ba90164ebcf700090dfb2480 darcs-hash:20090209152308-cb1c6-fb5fccb3801e35ce67f69633e65658b6f6ebddb8.gz
2009-02-05X.U.WindowProperties: Add getProp32 and getProp32s, helpers to get ↵Ismael Carnales2-19/+8
properties from windows Ignore-this: c5481fd5d97b15ca049e2da2605f65c1 darcs-hash:20090205013031-6553f-d106b609838d4ccf3fe4afa448910b897cd5b87c.gz
2009-02-04ManageHelpers: reduce duplicated code in predicatesIsmael Carnales1-16/+13
Ignore-this: e28a912d4f897eba68ab3edfddf9f26b darcs-hash:20090204021847-6553f-b28c28f4420af816d05a31075e671e4e5f47e8cf.gz
2009-02-03Adjustments to use the new event hook feature instead of Hooks.EventHookDaniel Schoepe3-35/+23
Ignore-this: f8c239bc8e301cbd6fa509ef748af542 darcs-hash:20090203160046-cb1c6-d66821c5b8a5a60e3b76148654c6e28806b37749.gz
2009-01-17Add XMonad.Actions.SpawnOnSpencer Janssen1-0/+12
Ignore-this: 63869d1ab11f2ed5aab1690763065800 darcs-hash:20090117040432-25a6b-306aa18fed69a47197ca8c349cf6452939db5188.gz