aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use Control.Exception.catch explitly to avoid warningsAdam Vogt2012-11-0911-38/+25
| | | | | | | | | | | | | | 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-096-58/+58
| | | | | | | | | | | | 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
* Rename variable in L.Minimize to avoid shadowing.Adam Vogt2012-11-091-3/+3
| | | | | | | | Ignore-this: b46d3e8e0d4106cea6966116be386677 This "state" is new with a newer mtl. darcs-hash:20121109003410-1499c-5a2ac6463df763768818a9dae5c2721c3eaede76.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
* Added smart spacing to the spacing moduledaedalusinfinity2012-09-231-0/+15
| | | | | | | | Ignore-this: 9104bc8feb832f63f2f18998c0f7ba92 Added smart spacing to the spacing module, which adds spacing to all windows, except to windows on singleton workspaces. darcs-hash:20120923034527-6243b-e3036a0e7e350648026148a4ff0d25db40358e52.gz
* Improves haddock documentationc.lopez2012-08-262-4/+5
| | | | | | Ignore-this: a0ce4838652acfff7922c111e4d879bb darcs-hash:20120826091716-c3db2-b6bc0898f7935b4b272655521b2468a5ecae49ad.gz
* Improve comments, add an error throw that shouldn't happenc.lopez2012-08-261-5/+7
| | | | | | Ignore-this: 7675070826b3c53499e4352e692d6036 darcs-hash:20120826085426-c3db2-648c1b82565fa87710737b641c8159ea257011d9.gz
* fix a bug when ncompletionsc.lopez2012-08-261-3/+2
| | | | | | Ignore-this: 5f573028318473c333809217c271a81d darcs-hash:20120826083137-c3db2-f1fe3b8e2603aeffc888411261f364de2b4ef576.gz
* Fixes typos in Actions.Launcher haddock documentationc.lopez2012-08-111-21/+22
| | | | | | Ignore-this: f8152c0ad59d2b0cc9a6c9061e83aaf0 darcs-hash:20120811112502-c3db2-9bc978530efdb06f908df37149eafb6c2dc61384.gz
* Correctly get the autocompletion item when alwaysHighlight in XMonad.Prompt ↵c.lopez2012-08-112-100/+112
| | | | | | | | is True Ignore-this: fa2600df210c7d3472a797f19fb31a7 darcs-hash:20120811104805-c3db2-130ba7583c5498a5d8b30f075d394db203f65329.gz
* Removes warnings, adds a browser value for LauncherConfig in haddock commentsc.lopez2012-06-281-4/+4
| | | | | | Ignore-this: 2610cf63594db3df61bac52f3d8f5836 darcs-hash:20120628114533-c3db2-3d33399a2794885da3282495d8fd64cfd6911af1.gz
* Changes on XPrompt:c.lopez2012-06-283-39/+395
| | | | | | | | | | | | Ignore-this: 2384f5c1b886716b3d9785877c2e32f9 * Adds mkPromptWithModes, creates a prompt given a list of modes (list of XPType). * Adds Setting `alwaysHighlight` to defaultXPConfig. When set to true, autocompletion always highlight the first result if it is not highlighted. Adds module XMonad.Actions.Launcher. This module allows to combine and switch between instances of XPrompt. It includes a default set of modes which require the programs `hoogle`, `locate` and `calc` to be installed to work properly. darcs-hash:20120628101749-c3db2-f6d1cd3315d56300d734f4c874409e0782096eac.gz
* accept more windows as docksDaniel Wagner2012-08-231-2/+2
| | | | | | Ignore-this: 21d9b406c7e39cca2cc60331aab04873 darcs-hash:20120823124153-76d51-072eab9b52edc18a47d943319875586ae3c2b088.gz
* strip newlines from dmenu's returns to be compatible with the newest version ↵longpoke2012-07-231-1/+1
| | | | | | | | of dmenu Ignore-this: 3b11a35125d0bc23b33e0b926562f85a darcs-hash:20120723212807-276ff-b11b0108dd7067ad927a2920d9cb366dcd90d18b.gz
* A workscreen permits to display a set of workspaces on severalkedals02012-07-062-0/+110
| | | | | | | | | | | | | | | | Ignore-this: 572ed3c3305205bfbcc17bb3fe2600a3 screens. In xinerama mode, when a workscreen is viewed, workspaces associated to all screens are visible. The first workspace of a workscreen is displayed on first screen, second on second screen, etc. Workspace position can be easily changed. If the current workscreen is called again, workspaces are shifted. This also permits to see all workspaces of a workscreen even if just one screen is present, and to move windows from workspace to workscreen. darcs-hash:20120706093308-61e16-46b0ce2a46807b2a72d2762db65d389080b14d6d.gz
* refer to the new name 'handleEventHook' instead of the old name 'eventHook' ↵Daniel Wagner2012-06-181-1/+1
| | | | | | | | in X.L.Fullscreen documentation Ignore-this: bd3b26c758cf3993d5a93957bb6f3663 darcs-hash:20120618181003-76d51-01c94d2bf810031fbe070a087108b8ab75e8b9be.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
* updates to XMonad.Prompt re: word-oriented commandsBrent Yorgey2012-05-101-30/+71
| | | | | | | | | | | | | | | | | Ignore-this: 138b5e8942fe4b55ad7e6ab24f17703f + change killWord and moveWord to have emacs-like behavior: first move past/kill consecutive whitespace, then move past/kill consecutive non-whitespace. + create variants killWord' and moveWord' which take a predicate specifying non-word characters. + create variants defaultXPKeymap' and emacsLikeXPKeymap' which take the same sort of predicate, which is applied to all keybindings with word-oriented commands. darcs-hash:20120510174317-1e371-30bf1af455f31b2dfc28f01ce889ec91ab0be773.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
* Fixed X.A.GridSelect to be consistent in the way it (now) sorts the shownJesper Reenberg2012-05-011-6/+34
| | | | | | | | | | | | | | | Ignore-this: 1d0991f9fb44e42f5d1c5a4f427ea661 elements when modifying the searchString. The implemented ordering sorts based on how "deep the needle is in the haystack", meaning that searching for "st" in the elements "Install" and "Study" will order them as "Study" and "Install". Previously there was no ordering and when using GridSelect to select workspaces, the ordering was not consistent, as the list of workspaces (if not modified manually) is ordered by last used. In this case either "Study" or "Install" would come first depending on which workspace was last visited. darcs-hash:20120501180415-abfbf-31b5c20e65c1ddb5835c61259d363fd3f67f471b.gz
* Use getXMonadDir to get the default xmonad directory.Julia Jomantaite2012-05-011-5/+3
| | | | | | Ignore-this: a075433761488b76a58a193aeb4e4a25 darcs-hash:20120501121427-418f8-4f45d50ad212741806d4919c8dde9067a8a74cbe.gz
* Minor haddock formatting for X.L.OnHost and X.A.DynamicWorkspaceOrderAdam Vogt2012-04-282-7/+7
| | | | | | Ignore-this: 843ec567e249cc96d51ca931f1e36514 darcs-hash:20120428194552-1499c-86afac9105d38cb89e72661bdb2c177b0f3baf1f.gz
* Remove trailing whitespace.Adam Vogt2012-04-282-2/+2
| | | | | | Ignore-this: d61584110954e84d3611ef3497a29725 darcs-hash:20120428194048-1499c-b4fab8db7cd56d5ca8496e1d3c9c2147a985cf55.gz
* Add emacs-like keys to browse history in XMonad.PromptCarlos Lopez-Camey2012-04-211-0/+2
| | | | | | Ignore-this: b90345f72007d09a6b732b974c0faf79 darcs-hash:20120421110737-95218-06c3ee13fed5302ee3bd2e02a143cbca73a793c5.gz
* Adds an emacs-like Keymap in XMonad.PromptCarlos Lopez-Camey2012-04-211-0/+37
| | | | | | Ignore-this: f281b8ad01f3d21055e2d6de79af2d79 darcs-hash:20120421012335-95218-fe138a3d499fd0d956f3c61037cc4a07211a9daf.gz
* add 'withNthWorkspace' to DynamicWorkspaceOrder.jakob2012-04-071-1/+14
| | | | | | | | | | | Ignore-this: f5f87ffe9ddf1a12fab775e6fb8e856f Note this is very similar to the function of the same name exported by DynamicWorkspaces. Ultimately it would probably be cleaner to generalize the one in DynamicWorkspaces to accept an arbitrary workspace sort as a parameter; this is left as an exercise for future hackers. darcs-hash:20120407184640-b9182-99b3857ef415af2bc9a6bbbc22388145e0145126.gz
* XMonad.Layout.OnHost allows host-specific modifications to a layout, whichallbery.b2012-03-202-0/+156
| | | | | | | | | | | | | | | | Ignore-this: 4c0d5580e805ff9f40918308914f3bf9 is otherwise very difficult to do. Similarly to X.L.PerWorkspace, it provides onHost, onHosts, modHost, and modHosts layout modifiers. It attempts to do smart hostname comparison, such that short names will be matched with short names and FQDNs with FQDNs. This module currently requires that $HOST be set in the environment. You can use System.Posix.Env.setEnv to do so in xmonad.hs if need be. (Properly, this should be done via the network library, but I'm trying to avoid adding that dependency.) An alternative would be to shell out to get the name, but that has considerable portability hurdles. darcs-hash:20120320030912-181ff-ac823f07d94265c3e745e623f6da79eeead4d121.gz
* Bump version to 0.10.1Adam Vogt2012-03-201-2/+2
| | | | | | | | | | Ignore-this: f0608ffaa877f605eaa86c45a107a14d Raising the X11 dependency while keeping the xmonad version the same leads to problems where cabal install uses the dependency versions following hackage, not what is installed. darcs-hash:20120320005311-1499c-ef4170c0436b12b522283a27c818960c0fe0ec95.gz
* narrower BorderResize rectangles placed within border edgesJens Petersen2012-03-141-7/+5
| | | | | | | | | | | | | Ignore-this: 3a43bbdb7f2317d702edafb231f58802 Change the border resize rectangles to be narrower and only extend inside the window not outside. Most window managers just seem to use the border decoration area for starting resizes which is often just 1 pixel wide but as a compromise the width is now 2 pixels (before it was 10!). The rectangles are now placed symmetrically within the border and window. This seems to work ok with PositionStoreFloat for the Bluetile config. darcs-hash:20120314064703-2376b-7c0f261c543d9855567e5187d224eb04a0c115bd.gz
* add-dynamic-bars-moduleBen Boeckel2012-03-162-0/+137
| | | | | | | | | 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
* bump X11 dependency so that noModMask is availableDaniel Wagner2012-03-162-2/+2
| | | | | | Ignore-this: 971a75dcad25f66848eef4174cd4ddd1 darcs-hash:20120316000302-76d51-db444dc2801d3b03900ce47429fe22571f03d4ad.gz
* Paste.hs: rm noModMask, shifted definition to X11 binding (see previous email)gwern02011-12-031-6/+0
| | | | | | Ignore-this: dcd164ff8f8f135c8fdef08f42f9244d darcs-hash:20111203203038-f7719-68eb7740599fc1bb7683a7b1dc02aaf88e05f538.gz
* GroupNavigation: fix import typo in usageJens Petersen2012-03-121-1/+1
| | | | | | Ignore-this: 65367218ca50a33a37813469b4616f34 darcs-hash:20120312103349-2376b-09741eaa177084d78c307e41a1925967bed079d9.gz
* add sendToEmptyWorkspace to FindEmptyWorkspaceJens Petersen2012-03-121-1/+6
| | | | | | | | | Ignore-this: 50e7992d80d2db43e4d0adf5c95e964f sendToEmptyWorkspace is like tagToEmptyWorkspace except it does not change workspace after moving the window. darcs-hash:20120312102331-2376b-df1ce614606db38f82ed06938c730eaf5ec2962c.gz
* xmonad-contrib.cabal: simplify xmonad dependency to >Jens Petersen2012-03-121-1/+1
| | | | | | | | | Ignore-this: 1ff5a0caa2a1e3487e9a0831e385b3d2 Unless there is a particular reason for listing the lower and upper bounds separately then this seems simpler and cleaner. darcs-hash:20120312101800-2376b-352f75ffc425adca3217cba8c6725cf23fb04f9f.gz
* ShowWName: Increase horizontal padding for flashcrodjer2012-03-051-1/+1
| | | | | | | | | Ignore-this: de5fd30fad2630875c5c78091f07c324 Currently the flash window width leaves a very small amount of padding. This patch adds some extra horizontal width, governed by text width and length. darcs-hash:20120305164517-fbbbc-062a4f1dae25cfcc8f9e20b1feaea20de92cb738.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
* ShowWName flash window background colorRohan Jain2012-03-061-1/+1
| | | | | | | | | | | | | | Ignore-this: 9cd8fcfc13cc326b9dcc79ef3cc21b26 While calling paintAndWrite for flash window, the background color from config should also be passed on as window background in addition to as text background color. Otherwise the window color gets set to the default black which shows up when text cannot span whole of the window. This issue becomes visible when the font size is considerably large or even in small size with truetype fonts. darcs-hash:20120306065224-afc14-c5ec054c5448ed3e68a302ad23126163b525f225.gz
* ShowWName: Fix flash location by screen rectanglecrodjer2012-03-051-3/+3
| | | | | | | | | | Ignore-this: 83ec4cce2297efc6736a1fe55f44ee73 In case of using this hook with multiple monitors, the Tag flash was not following the screen's coordinates. This patch shifts the new window created for flash according to the Rectangle defined by the screen. darcs-hash:20120305161240-fbbbc-9eb5efe5d06780901c87e2db8e22015549f80076.gz
* Fix typo in tabbed layout link for font utils docscrodjer2012-02-291-1/+1
| | | | | | Ignore-this: 2f7e90269e08ce08264d7b1d05bb16f9 darcs-hash:20120229070022-fbbbc-48f37639ecdaa828e63be0dcccc1aa14016fa88e.gz
* L.WorkspaceDir: cleanup redundant {definitions,imports}Steffen Schuldenzucker2012-02-291-5/+0
| | | | | | Ignore-this: 7a796b18a64e693e071e9ea3a6a01aa3 darcs-hash:20120229112124-4e3ba-17e3e0e4d557af7d839121a97283fa0320b72c51.gz
* fix L.WorkspaceDir special char handling: remove "echo -n" processingSteffen Schuldenzucker2012-02-271-2/+1
| | | | | | Ignore-this: ab48687eb4c9018312089a13fd25ecd8 darcs-hash:20120227122004-4e3ba-326bd0b046584162fc2838f3a7a7a62207291f46.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
* Adding use case for namedScratchpad.nicolas.dudebout2012-01-231-1/+19
| | | | | | Ignore-this: 44201e82bcd708cd7098f060345400f1 darcs-hash:20120122235843-358d5-68faf2afbfa56393817e6ef2ceaedc891da101ba.gz
* Actions.WindowGo: typo fix - trim 's' per cub.uanic ↵gwern02012-01-161-1/+1
| | | | | | | | https://code.google.com/p/xmonad/issues/detail?idI1 Ignore-this: fb1d55c1b4609069c55f13523c091260 darcs-hash:20120116224244-f7719-fef0b05cb8879cba9b2087282291f55e6954d644.gz
* XMonad.Actions.PhysicalScreens: fix typo spotted by Chris Pick ↵gwern02012-01-151-2/+1
| | | | | | | | <haskell@chrispick.com> Ignore-this: eb73b33b07dc58a36d3aa00bc8ac31c2 darcs-hash:20120115223013-f7719-4228a5965af6cfa3a770103ee4d856df3f7540cc.gz
* roll back previous incorrect fixDaniel Wagner2012-01-111-1/+1
| | | | | | Ignore-this: 91496faef411e6ae3442498b528d119b darcs-hash:20120111214133-76d51-69ac442688efdf7a9ad146950b352b68c2fdc772.gz
* Extending: fix http://code.google.com/p/xmonad/issues/detail?idI0gwern02012-01-111-1/+1
| | | | | | Ignore-this: 515afbed507c070d60ab547e98682f12 darcs-hash:20120111211907-f7719-b499f0dbeb3177e896e591106f430dd9c021c052.gz