aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove decodeInput/encodeOutputgwern02010-06-151-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
* PositionStoreHook: take decoration into accountJan Vornberger2010-06-031-10/+16
| | | | | | Ignore-this: 72192c7cabeaeb744711b651ac3ffc65 darcs-hash:20100602223015-594c5-27dd70547845ce43c3a5fedd504cf8b5255b1d3e.gz
* PositionStoreHook: take docks into accountJan Vornberger2010-06-021-1/+6
| | | | | | Ignore-this: 6ffa63f22e9b511a9d28bc1c04195a08 darcs-hash:20100602215048-594c5-43fa479fd3dd4b34dbc38097d2f8540a0b7ebe89.gz
* Use imported `fi' alias for fromIntegral more often.Adam Vogt2010-04-162-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
* X.H.UrgencyHook: performance fixTomas Janousek2010-03-301-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
* Update my e-mail addressquentin.moser2010-01-172-4/+4
| | | | | | Ignore-this: f5efc4d494cb001d3cfbe2b2e169cbe5 darcs-hash:20100117011109-5ccef-9bf858e60dffc4321b5e324c76b8b72386051c76.gz
* X.H.DynamicLog: let the user of xmonadPropLog choose property nameTomas Janousek2010-03-191-6/+11
| | | | | | Ignore-this: 17c0cac2a469e0b70b0cea86f3aeed51 darcs-hash:20100319214631-c9ff5-e1515d6d27fdecb2bf28805918d373d0d5445403.gz
* Use imported 'fi' in H.ScreenCornersAdam Vogt2010-02-221-3/+1
| | | | | | Ignore-this: 45ceb91d6c39f29bb937aa29c0bc2e66 darcs-hash:20100222150633-1499c-43d850ac038ee20a861ae90d3c678da4d6cc2167.gz
* X.H.ScreenCorners typosNils Schweinsberg2010-02-221-4/+4
| | | | | | Ignore-this: 805ba06f6215bb83a68631f750743830 darcs-hash:20100222115142-1f2e3-d571e8da04d250c0d2510d77691e423bbb57249f.gz
* X.H.ScreenCorners rewritten to use InputOnly windows instead of waiting for ↵Nils Schweinsberg2010-02-221-59/+121
| | | | | | | | MotionEvents on the root window Ignore-this: f9866d3e3f1ea09ff9e9bb593146f0b3 darcs-hash:20100222112459-1f2e3-126c0b9c4d4c028b3da059b88ae5b1a7819264ab.gz
* [patch] X.H.ScreenCorners: move the mouse cursor to avoid loopsNils Schweinsberg2010-02-221-5/+8
| | | | | | Ignore-this: c8d2ece0f6e75aba1b091d5f9de371dc darcs-hash:20100221231550-1f2e3-903c0adcd9fece225eb73730bbf85b688fedd987.gz
* New extension: XMonad.Hooks.ScreenCornersNils Schweinsberg2010-02-221-0/+107
| | | | | | Ignore-this: c3a715e2590ed094ed5908bd225b185e darcs-hash:20100221230259-1f2e3-5ab2ebd73348ba8c870f1abfac7dd2bacfe5c96d.gz
* minor style changesDaniel Wagner2009-12-281-8/+7
| | | | | | Ignore-this: 605de753d6a5007751de9d7b9f8ab9ca darcs-hash:20091228173016-76d51-9a0b36d3b23bd2ad41f36e50c029d9d17a506d6e.gz
* suppress some warnings under ghc 6.12.1 and clean up redundant imports to ↵Brent Yorgey2010-01-125-6/+1
| | | | | | | | get rid of some others. Ignore-this: bf3487b27036b02797d9f528a078d006 darcs-hash:20100112172507-1e371-1b466e62ac727b196330c72c8553116282ef5702.gz
* Style changes in EwmhDesktopsAdam Vogt2009-12-191-11/+8
| | | | | | Ignore-this: 905eff9ed951955c8f62617b2d82302e darcs-hash:20091219003824-1499c-8431cb12b4658c0143a41ecdbdb17f731bfd8f12.gz
* Add support for fullscreen through the _NET_WM_STATE protocolaudunskaugen2009-12-141-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
* Module to ensure that a dragged window always stays in front of all other ↵Jan Vornberger2009-11-291-0/+62
| | | | | | | | windows Ignore-this: a8a389198ccc28a66686561d4d17e91b darcs-hash:20091129004506-594c5-4266465b2a3105e45f1ff9838d9e98dd14390106.gz
* X.H.DynamicLog: fix xmonadPropLog double-encoding of UTF-8Tomas Janousek2009-11-211-4/+4
| | | | | | | | | Ignore-this: bde612bbd1a19951f9718a03e737c4ac dynamicLogString utf-8 encodes its output, xmonadPropLog shouldn't do that again. darcs-hash:20091121004829-c9ff5-64b4d4052ae78220e8db863b4dbc77b0a6297174.gz
* X.H.DynamicLog: make documentation for 'dzen' and 'xmobar' slightly more clearBrent Yorgey2009-11-211-3/+9
| | | | | | Ignore-this: c9a241677fda21ef93305fc3882f102e darcs-hash:20091121170739-1e371-18e128232f780146a0d07f97b9f12f77a82f98e5.gz
* X.H.ManageDocks: ignore struts that cover an entire screen on that screenTomas Janousek2009-11-191-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
* Use imported 'fi' in PositionStoreHooksAdam Vogt2009-11-191-2/+1
| | | | | | Ignore-this: 6563a3093083667c79aa491a6f59b805 darcs-hash:20091119103112-1499c-e0ded57d325cf75820408eb30b6c30611073ef01.gz
* Changed interface of X.U.ExtensibleStateDaniel Schoepe2009-11-164-20/+18
| | | | | | | | | Ignore-this: 9a830f9341e461628974890bab0bd65b Changed the interface of X.U.ExtensibleState to resemble that of Control.Monad.State and modified the modules that use it accordingly. darcs-hash:20091116171013-7f603-0631dc163d78785b123bc10164ee3295add28b60.gz
* PositionStoreFloat - a floating layout with support hooksJan Vornberger2009-11-151-0/+98
| | | | | | Ignore-this: 8b1d0fcef1465356d72cb5f1f32413b6 darcs-hash:20091115184833-594c5-9534e1ec9be959d18713bfdd1edbc1f5995cc4a8.gz
* X.H.Urgencyhook fix minor doc bugAnders Engstrom2009-11-151-1/+1
| | | | | | Ignore-this: 18b63bccedceb66c77b345a9300f1ac3 darcs-hash:20091115131121-8978f-fd96cfc0b50bd14b0e7384ef3ad80fd0ad6c2bfa.gz
* X.H.DynamicLog fix minor indentation oddnessAnders Engstrom2009-11-151-15/+15
| | | | | | Ignore-this: 7f2c49eae5527874ca4499767f4167c4 darcs-hash:20091115130707-8978f-fc8f41e624d9c8ab5ec2a06a89429ab9612c31aa.gz
* Don't erase floating information with H.InsertPosition (Issue 334)Adam Vogt2009-11-131-1/+1
| | | | | | Ignore-this: de1c03eb860ea25b390ee5c756b02997 darcs-hash:20091113161402-1499c-779e2879fe96727dcc46ee7e7d74c5169036a19d.gz
* Trim whitespace in H.FloatNextAdam Vogt2009-11-111-5/+1
| | | | | | Ignore-this: 1ad52678246fa1ac951169c2356ce10b darcs-hash:20091111022702-1499c-311ad3606fe5da6f4bf30ff1952f35204577327f.gz
* Use ExtensibleState in H.FloatNextAdam Vogt2009-11-111-16/+15
| | | | | | Ignore-this: 760d95a685af080466cb4164d1096423 darcs-hash:20091111022513-1499c-09d1a8ca0f1f4b764af7407954f6fe4725f739a5.gz
* minor-doc-fix-in-ManageHelpers`Henrique Abreu hgabreu@gmail.com2009-11-041-1/+1
| | | | | | Ignore-this: 231ad417541bc3c17a1cb2dff139d55d darcs-hash:20091104172727-bc7b1-3d2b424169092eb515bd4aa0eaacdcd91223924d.gz
* Remove defaulting when using NoMonomorphismRestriction in H.EwmhDesktopsAdam Vogt2009-11-071-6/+7
| | | | | | Ignore-this: ca3939842639c94ca4fd1ff6624319c1 darcs-hash:20091107195255-1499c-bcc2d2bb68d0a601e39b9b17d029ecedfbd17460.gz
* Use X.U.ExtensibleState instead of IORefsDaniel Schoepe2009-11-062-69/+43
| | | | | | | | | | Ignore-this: e0e80e31e51dfe76f2b2ed597892cbba This patch changes SpawnOn, DynamicHooks and UrgencyHooks to use X.U.ExtensibleState instead of IORefs. This simplifies the usage of those modules thus also breaking current configs. darcs-hash:20091106115601-7f603-4e2ce344aca377c5c4409b139ad35ca4b1311185.gz
* Add experimental xmonadPropLog functionSpencer Janssen2009-11-071-0/+19
| | | | | | Ignore-this: f09b2c11b16a3af993b63d1b39566120 darcs-hash:20091107004624-25a6b-7d6cd58f8b759867bb49df0ac9bfc1472b3f7423.gz
* Fix typo in H.FadeInactive documentationAdam Vogt2009-10-291-1/+1
| | | | | | Ignore-this: b2af487cd382416160d5540b7f210464 darcs-hash:20091029165736-1499c-883218d2ff7fee9d8bf9fb1332652e526263f7d7.gz
* X.H.ManageHelpers: added currentWs that returns the current workspaceIsmael Carnales2009-10-281-0/+5
| | | | | | Ignore-this: dcd3dac6bd741d26747807691f125637 darcs-hash:20091028193519-6553f-b668fcfb822718a48caea74d21860de505a467c1.gz
* Changing behaviour of ppUrgent with X.H.DynamicLogmail2009-09-101-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
* Add ewmh function to set all EWMH settings in one stepSpencer Janssen2009-10-231-4/+9
| | | | | | Ignore-this: 4d79c1e156f56882036ce43e70cce6f2 darcs-hash:20091023034630-25a6b-3a5055d46b632bd7c898e2904f145718f392bd6e.gz
* Refer to modm as the current modMaskAdam Vogt2009-10-225-15/+15
| | | | | | | | Ignore-this: d097c7dc1746c55e1d4078a7148f9d5a This makes the config suggestions consistent with the current template. darcs-hash:20091022041126-1499c-5dd63076fdd71a61276cfc8e648bada81d9cc586.gz
* Move EWMH support initialization to a startupHookJustin Bogner2009-10-111-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
* Remove H.SetCursor: U.Cursor is preferredAdam Vogt2009-10-201-47/+0
| | | | | | Ignore-this: 5796fe86879c2ce02ef12150e0a8603a darcs-hash:20091019235722-1499c-bc320e621daf6860c26989a841c0eaadcbabe5be.gz
* Finish a sentence in H.ManageDocks haddocks.Adam Vogt2009-10-051-1/+1
| | | | | | Ignore-this: 43f4ffc627b3db204d74ed361ef939cf darcs-hash:20091005165312-1499c-d406c742ce083a814826acd31d89b10120cfb250.gz
* 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