aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a SetStruts message to H.ManageDocks.Adam Vogt2009-10-051-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
* Fixed guard in WorkspaceByPos - condition got switched during transformationJan Vornberger2009-10-041-1/+1
| | | | | | Ignore-this: 6685ef8ddff55c7758c2b77cfc65cbba darcs-hash:20091004085232-594c5-b6bd64420dfac2c551501bd7e0a2aaa7073f166c.gz
* New module : X.H.SetCursormail2009-09-151-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
* Hyperlink modules named in WindowMenu, RestoreMinimized, and MinimizeAdam Vogt2009-10-031-1/+1
| | | | | | Ignore-this: 5eb1496fd258fa0c43fb0a58136ccfff darcs-hash:20091003151325-1499c-7a29a60a629816ba4b10229481550fa672f1c957.gz
* Use ErrorT instead of nested case for H.WorkspaceByPosAdam Vogt2009-09-301-24/+13
| | | | | | Ignore-this: c3f96fbbf0ce917c4962b297dea3b174 darcs-hash:20090930204914-1499c-a1a2913a3a5356119c7ebf936731e5bc1b25ba9c.gz
* In a multi-head setup, move windows with a non-zero position upon creation ↵Jan Vornberger2009-09-301-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
* EventHook to restore minimized windows from taskbar (re-recorded from ↵Jan Vornberger2009-09-291-0/+49
| | | | | | | | Bluetile repo) Ignore-this: 673b003c4e07b591046ed01e5f27a7ec darcs-hash:20090928231549-594c5-6a640551cd229bffdb477ded4756be5517b81d7a.gz
* Factor out direction types and put them in X.U.TypesDaniel Schoepe2009-09-191-18/+8
| | | | | | | | | Ignore-this: b2255ec2754fcdf797b1ce2c082642ba This patch factors out commonly used direction types like data Direction darcs-hash:20090919191717-7f603-09c283e51a0b886d260008676d71e3daf31f4394.gz
* Return True in X.H.FadeInactive.isUnfocused if current workspace is empty. ↵Adam Vogt2009-08-281-1/+1
| | | | | | | | (dschoepe) Ignore-this: 56a3dac874f6430f10ad23870a4be38a darcs-hash:20090828214537-1499c-746e07cd364f9c4bdf12bb7f633b761bc78953fe.gz
* Actually execute the correct command when giving user-defined commands to ↵Jan Vornberger2009-08-261-2/+2
| | | | | | | | ServerMode Ignore-this: 571e4d3ec5bcae56987c6e3b85b800b6 darcs-hash:20090825233828-594c5-6d445f87083d4c7d6ffcf99a467880a0730bac00.gz
* Preserve backwards compatibility with H.ServerModeAdam Vogt2009-08-261-4/+10
| | | | | | Ignore-this: cd5df0c49e1d0f07ede1994da9c4c865 darcs-hash:20090825220348-1499c-8f18eb208a02d11f0b7455a75021df4c927b38bd.gz
* Let the user decide which commands to use in X.H.ServerModeDaniel Schoepe2009-08-251-5/+8
| | | | | | Ignore-this: 3a1b95f85253ce6059f4528e23c5a3d3 darcs-hash:20090825101630-7f603-100cf20462e6cb4214e0737223f1b9141091f1b5.gz
* Better default for ppUrgent in xmobarPPDaniel Schoepe2009-08-221-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
* Add backwards compatability in X.H.FadeInactiveDaniel Schoepe2009-08-221-1/+1
| | | | | | Ignore-this: d2ef91429d80fde5126b2aa8f0de9b1f darcs-hash:20090821225646-7f603-f88c0e9cc292247e44175343f9b3a91e03c98afb.gz
* More flexible interface for X.H.FadeInactiveDaniel Schoepe2009-08-211-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
* Don't use tabs in EwmhDesktopsDaniel Schoepe2009-08-131-3/+3
| | | | | | Ignore-this: 59b1ade240aa75cf448620cd7a37579b darcs-hash:20090813200119-7f603-2e4dbfc698796446602334609b244d79e5276f61.gz
* Do not warn about unknown ClientMessageEventsJoachim Breitner2009-08-131-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
* fix UrgencyHook docs (\a -> \\a in Haddock)Brent Yorgey2009-08-091-1/+1
| | | | | | Ignore-this: a1fcfe2446184a8cea4553fd68565b58 darcs-hash:20090809184016-1e371-6dd9048634ffaccfbebb1461f5f8bad774dee82d.gz
* Remove trailing whitespace from many modulesAdam Vogt2009-07-055-60/+60
| | | | | | Ignore-this: 1e28ff0974578d329bd3d593c1a5125e darcs-hash:20090705201205-1499c-581bd0bb43ab6096eccded6edbd54a7a2007b0d9.gz
* X.H.ManageHelpers: add two new helper functions, doFloatDep and doFloatAtBrent Yorgey2009-06-051-9/+23
| | | | darcs-hash:20090605030113-1e371-6f55d154e061c7fcfe3ad68a11162f7cb655d48d.gz
* Replace most -fglasgow-exts with specific LANGUAGE pragmasAdam Vogt2009-06-261-1/+1
| | | | | | Ignore-this: 2274fdd689b0576a76d9f3373e9c7159 darcs-hash:20090626025457-1499c-1d7bdb15732bb3d45e853e140f66fe38fc4fcafa.gz
* Use -fwarn-tabs for test, remove tabsAdam Vogt2009-06-241-1/+1
| | | | | | Ignore-this: 84dfa0d9d50826527abbe7ff6acf4465 darcs-hash:20090624043831-1499c-2086e714723091fae9e3697df370a0634152f0a4.gz
* Remove Hooks.EventHookDaniel Schoepe2009-06-181-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
* Correct many typos in the documentation, consistent US spellinggAdam Vogt2009-06-182-9/+9
| | | | | | Ignore-this: cf6dcf340fa6cc010f7879f188d376f5 darcs-hash:20090618003729-1499c-c927c08cda268b94b350f6419a64df8ca1e863d4.gz
* FloatSnap - calculate gaps instead of snapping against unmanaged windowsAnders Engstrom2009-05-271-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
* A.FloatSnap snap to unmanaged docks tooAdam Vogt2009-05-251-1/+4
| | | | | | Ignore-this: 46a856cae139d2e224ded985a9866ecf darcs-hash:20090525001834-1499c-c4ef9061c280a7f5c7b3a698d86548e8d83d7940.gz
* Add H.InsertPosition: add new windows to different positions in a workspaceAdam Vogt2009-05-031-0/+74
| | | | | | Ignore-this: 7e7d5fa5b42698799cabe600159a75f7 darcs-hash:20090503020303-1499c-03bd01137979cfbbe6aaebe4981c03c5597818ab.gz
* Properly encode destop names before sending them to X server in ↵Khudyakov Alexey2009-02-201-2/+2
| | | | | | | | XMonad.Hooks.EwmhDesktops Ignore-this: 6a22ea8bdc49f8484e18f04aaeb545ae darcs-hash:20090220184137-7ba7e-e2eb4702acb468ade70e78e22b32c3137ba7214d.gz
* X.H.DynamicLog: provides trim, inverse of padsean.escriva2009-04-091-1/+7
| | | | | | Ignore-this: 9d92ff592f2bc4f041b85d1314058fdc darcs-hash:20090409163513-29414-6e265fe7109d15b55b040514bca469d5c68f2bc4.gz
* Improve composability of X.H.Place, drop simple(st)Float supportquentin.moser2009-04-151-60/+107
| | | | | | Ignore-this: 8a0fb64aa0db27b242b7ad4bcba1a3ca darcs-hash:20090415184550-5ccef-fcc9d4152b7d181a9380121af147d1a0782b192c.gz
* Fixed X.H.Place.positionquentin.moser2009-04-091-2/+2
| | | | | | Ignore-this: 29e3936800194916a859976ff126dbfe darcs-hash:20090409084946-5ccef-e312bdd8cb5e5474064a18ca9f026ab11a66d6e1.gz
* Module for automatic placement of floating windowsquentin.moser2009-04-081-0/+413
| | | | | | Ignore-this: 1874df995fc02a0b80051db39d91a2e1 darcs-hash:20090408080953-5ccef-4fc6631021663d259cbc80a3ef4fa3d31be74f00.gz
* X.H.FloatNext: new module, float the next spawned window(s)quentin.moser2009-04-151-0/+157
| | | | | | Ignore-this: 95e1c9daa3ca43bfb058f6a881a97f3a darcs-hash:20090415181907-5ccef-14c9ead9acaf711e49c700a894581fca51c2a2d1.gz
* More flexibility for H.FadeInactiveDaniel Schoepe2009-03-091-9/+22
| | | | | | Ignore-this: ebfa2eadb439763276b372107cdf8d6c darcs-hash:20090309160020-cb1c6-28bb80bf52bbf1093862164abe0b5fc0ea3a2041.gz
* H.DynamicLog: revised dzenStrip and xmobarStrip functionswirtwolff2009-03-141-10/+30
| | | | | | | Ignore-this: 9897c60b8dfc59344939b7aebc370953 Reconcile darcswatch patch with pushed version of dzenStrip. darcs-hash:20090314041517-d17f0-85d43c2bc0bddf3a6322c8ec195095117840e372.gz
* X.H.DynamicLog: Add dzenStrip to remove formatting, for use in dzenPP's ↵Braden Shepherdson2009-03-141-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
* X.H.ManageHelpers: export isInPropertyRoman Cheplyaka2009-03-081-0/+1
| | | | darcs-hash:20090308201112-3ebed-6aedf6886f72574e53572bf12f7e3022e8c40bb8.gz
* Fix an undefined in EwmhDesktopsDaniel Schoepe2009-02-091-1/+1
| | | | | | Ignore-this: f60a43d7ba90164ebcf700090dfb2480 darcs-hash:20090209152308-cb1c6-fb5fccb3801e35ce67f69633e65658b6f6ebddb8.gz
* X.U.WindowProperties: Add getProp32 and getProp32s, helpers to get ↵Ismael Carnales2009-02-052-19/+8
| | | | | | | | properties from windows Ignore-this: c5481fd5d97b15ca049e2da2605f65c1 darcs-hash:20090205013031-6553f-d106b609838d4ccf3fe4afa448910b897cd5b87c.gz
* ManageHelpers: reduce duplicated code in predicatesIsmael Carnales2009-02-041-16/+13
| | | | | | Ignore-this: e28a912d4f897eba68ab3edfddf9f26b darcs-hash:20090204021847-6553f-b28c28f4420af816d05a31075e671e4e5f47e8cf.gz
* Adjustments to use the new event hook feature instead of Hooks.EventHookDaniel Schoepe2009-02-033-35/+23
| | | | | | Ignore-this: f8c239bc8e301cbd6fa509ef748af542 darcs-hash:20090203160046-cb1c6-d66821c5b8a5a60e3b76148654c6e28806b37749.gz
* Add XMonad.Actions.SpawnOnSpencer Janssen2009-01-171-0/+12
| | | | | | Ignore-this: 63869d1ab11f2ed5aab1690763065800 darcs-hash:20090117040432-25a6b-306aa18fed69a47197ca8c349cf6452939db5188.gz
* Adjustments to new userCode functionDaniel Schoepe2009-01-101-2/+2
| | | | darcs-hash:20090110221310-cb1c6-9692cf87a3e5c140204a20f2923d2b0dd8913cde.gz
* ManageHelpers: add isDialogjohanngiwer2009-01-091-0/+12
| | | | darcs-hash:20090108232505-63708-066fa172915765b3980dc0ee080aff53bc8b3192.gz
* fix-fromJust-errorsrupa2008-12-241-14/+16
| | | | | | | | | | bogner wrote all this stuff and i just tested it. I had: myLogHook darcs-hash:20081224045509-c0f70-712c12701c410fcc4715771c2566320b1110794b.gz
* X.H.ManageHelpers: add doHideIgnoreRoman Cheplyaka2008-12-151-1/+6
| | | | darcs-hash:20081215182758-3ebed-57a3f97d629f988c5bbd16fc17b7b1856f046865.gz
* Export setOpacity from FadeInactive. Document how to make monitor ↵Roman Cheplyaka2008-11-171-0/+1
| | | | | | transparent (X.L.Monitor) darcs-hash:20081117153027-3ebed-6327713d89216b663ac9796dfb6975f12e059c84.gz
* FadeInactive: fade all inactive windows (including focused windows on ↵Roman Cheplyaka2008-11-171-2/+3
| | | | | | visible screens) darcs-hash:20081117130115-3ebed-6bb05f957502523824c1c7065542e9e15aa833b0.gz
* ManageHelpers: added doSideFloat (generalization of doCenterFloat)Roman Cheplyaka2008-11-141-4/+23
| | | | darcs-hash:20081114113015-3ebed-100e2f01e6e29b1333bd249c6baee08efc94cf63.gz
* Work around ghc 6.10 bug #2738Don Stewart2008-11-041-1/+1
| | | | | | Ignore-this: c75da9693fa642025eac0d074869423d darcs-hash:20081104034819-cba2c-b28013626f02b7ef10f7f2b7a35f5e66e93fb256.gz