aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Actions (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-23Add rearrangers to X.A.GridSelectDmitri Iouchtchenko1-9/+59
Ignore-this: ef0dc68e9b725953e69e7b039fe06e9a darcs-hash:20130123044038-7d114-7a88df05510284aaddcd86c375894079912ed30f.gz
2013-01-23Avoid repainting elements in X.A.GridSelectDmitri Iouchtchenko1-11/+21
Ignore-this: 8e926cebc8d458a06a05f7457ae40b68 darcs-hash:20130123043850-7d114-908a346dd3d8a84cd896fcde1505d41284f01795.gz
2013-01-21Give a name to the initial state in X.A.GridSelectDmitri Iouchtchenko1-14/+14
Ignore-this: 989ae20ccc3d5b1392f0694d5c62e759 darcs-hash:20130121061324-7d114-34eccd0ee4c75b38d6203f4a2ee083cbdeab110e.gz
2014-12-19Generalize new workspace addition functions to support arbitrary insertion.nrujac1-8/+32
Ignore-this: 9f8c14b5aa9d398b3f167da0af1a8650 The current DynamicWorkspaces module only supports adding new workspaces at the start of the list of workspaces. This means when binding workspaces to keys based on the position in the list, key bindings can change as workspaces are added in removed in a far more destructive way than necessary. Instead, supporting appending and arbitrary insertion allows the user to determine where the new workspace should be added. This patch is a straight generalization of the addHiddenWorkspace' function. Rather than always using `(:)` to insert the new workspace into the list of workspaces, this patches causes it to use an arbitrary list insertion function instead. A few new functions are added to prevent breakage of external code while exported functions are left unchanged. List of new functions: appendWorkspace appendWorkspacePrompt addWorkspaceAt addHiddenWorkspaceAt Existing functions were modified to call their generalized brethren where possible without changing functionality. This patch should not change behavior for any existing users of this module. darcs-hash:20141219002309-8d489-1a2c5cacb9724bd185836691027d1aefb8a799d5.gz
2014-08-15remove unused importsAdam Vogt1-1/+1
Ignore-this: b2e5be31b70e6d31827e76bd8c00d200 darcs-hash:20140815051234-1499c-1f99e6ccdd98f6d8cdac9d08ffe1babde42a434f.gz
2014-10-02X.A.Navigation2D: add convenience functions for setting config & keybindingsDevin Mullins1-7/+94
Ignore-this: ed01137f03a531f73315ed503d1eb6ef 1. Added 'additionalNav2DKeys' which adds keybindings for the cartesian product of direction keys and (modifier, action) pairs given. 2. Added 'navigation2D' which combines that with 'withNavigation2DConfig'. 3. Added 'additionalNav2DKeysP' and 'navigation2DP' which do the same, but use the 'additionalKeysP' syntax. darcs-hash:20141002075757-541df-56008528a95cd2865c31673db77e6e251a55e323.gz
2014-09-13reverse workspaces, so that switching to a dynamic workspace group restores ↵nwfilardo1-1/+1
the focus to the screen that was focused at group creation time Ignore-this: b74c02b1892159694827e35122c2d517 darcs-hash:20140913174118-b769b-3fcb56b59a635c397828b6dd1e35e7c01a55693e.gz
2014-06-17add-duck-duck-go-search-engineeniotna.t1-2/+6
Ignore-this: 29bbfb2d07d9ddf36bf0268a4e255f81 darcs-hash:20140617174246-ab0f9-f3d46d01ac21cf07b8128a622b44be1d6129b043.gz
2014-04-28X.Actions.DynamicWorkspaceGroups: export new function addRawWSGroupBrent Yorgey1-1/+9
Ignore-this: a487882c9571bf91ff921d6561bb4cc6 darcs-hash:20140428142901-1e371-2f3d3c03df35f287a6825008bbe37f08d2a100ab.gz
2013-07-30XMonad.Actions.UpdatePointer: generalise updatePointerLiyang HU1-45/+39
Ignore-this: 3374a62b6c63dcc152dbf843cd0577f0 darcs-hash:20130730071007-3269f-c93d34a65590e3252ad43902e6eb499e2ba51b12.gz
2013-07-30XMonad.Actions.UpdatePointer: document TowardsCentreLiyang HU1-1/+6
Ignore-this: 2d684b12e4fff0ebec254bea4a4546a3 darcs-hash:20130730053746-3269f-235f33d9a4cb66f26bac76bb7497ba9186975c4a.gz
2013-05-28Fix haddock parse error in X.A.LinkWorkspacesAdam Vogt1-0/+1
Ignore-this: 42f05cf8ca9e6d1ffae3bd20666d87ab darcs-hash:20130528133448-1499c-ddd1e178089177ea2a5ae2c9e395210b11b1c43d.gz
2013-05-28use Data.Default wherever possible, and deprecate the things it replacesDaniel Wagner11-46/+65
Ignore-this: 898458b1d2868a70dfb09faf473dc7aa darcs-hash:20130528013909-76d51-863278165b6f149c47b08b31b34e85ddcab19f1f.gz
2013-05-28eliminate references to defaultConfigDaniel Wagner11-19/+19
Ignore-this: 37ae613e4b943e99c5200915b9d95e58 darcs-hash:20130528005825-76d51-89eaf6f1aeeb02086371f9c4ae2afade984f62e0.gz
2013-05-14Remove trailing whitespace in X.A.LinkWorkspacesAdam Vogt1-8/+8
Ignore-this: 5015ab4468e7931876eb66b019af804c darcs-hash:20130514215421-1499c-ad6e69d79e7d8a2c8d0f80489f8291fa8687286d.gz
2011-03-28Update documentation of LinkWorkspaces Modulequesel1-1/+1
Ignore-this: da863534931181f551c9c54bc4076c05 darcs-hash:20110328072813-2216c-82f0d67d4f1515ecfaf99a6d438b69e0f0a2c74e.gz
2011-02-10Added a module for linking workspacesquesel1-0/+168
Ignore-this: 1dba2164cc3387409873d33099596d91 This module provides a way to link certain workspaces in a multihead setup. That way, when switching to the first one the other heads display the linked workspaces. darcs-hash:20110210165018-2216c-b7c81c706c50c4401c433fc06e0c133a3d242156.gz
2013-01-14SpawnOn modification for issue 523Adam Vogt1-6/+11
Ignore-this: 703f7dc0f800366b752f0ec1cecb52e5 This moves the function to help clean up the `Spawner' to the ManageHook rather than in functions like spawnOn. Probably it makes no difference, the reason is because there's one manageSpawn function but many different so this way there are less functions to write. darcs-hash:20130114014642-1499c-5d00aa9a169d200f22b278b541ae0f9efe2d0358.gz
2013-01-09Make X.A.CycleWS not rely on hidden WS orderDmitri Iouchtchenko1-9/+18
Ignore-this: 8717a154b33253c5df4e9a0ada4c2c3e darcs-hash:20130109023328-7d114-18253bdcd8c48cb35c378feb6087d263b2ae0334.gz
2012-12-31Allow removing arbitrary workspacesDmitri Iouchtchenko1-0/+1
Ignore-this: 6fce4bd3d0c5337e5122158583138e74 darcs-hash:20121231214343-7d114-8b4036fa122c1729022106d0271e2d8a796d2dfb.gz
2012-12-31Remove first-hidden restriction from X.A.DynamicWorkspaces.removeWorkspace'Dmitri Iouchtchenko1-7/+11
Ignore-this: 55fb0859e9a5f476a834ecbdb774aac8 darcs-hash:20121231214148-7d114-78826e0e2f25128ddd79a6360d7c24b72f40b0f6.gz
2012-12-31X.A.Workscreen make the whole module description show up for haddockAdam Vogt1-1/+1
Ignore-this: a2ac895989090322a849695068f812b5 darcs-hash:20121231024600-1499c-5a43b563cea8028600c4eb4422eb61879c622166.gz
2012-12-31Note that an alternative to XMonad.Actions.ShowText is X.U.DzenAdam Vogt1-1/+2
Ignore-this: ae6476e5d33a559fd8503c44413311b8 darcs-hash:20121231023042-1499c-a2027af054012605b3f0a33ad83a4d2cc66cda2e.gz
2012-12-27Add X.A.DynamicWorkspaces.renameWorkspaceByName.Dmitri Iouchtchenko1-5/+8
Ignore-this: 4b8aa0405de3969000b1a78eb12992 darcs-hash:20121227063531-7d114-cf51e681da21447cc691be41d313e22fb6337f38.gz
2012-12-26Change type of X.A.ShowText.handleTimerEvent so example code typechecks.Adam Vogt1-2/+4
Ignore-this: 3c58a9ff124ab02325df6f38e0eaec05 darcs-hash:20121226013841-1499c-f01ab4a7d15b904b55abf44f5f19a4733b8305bc.gz
2012-12-26Describe arguments for X.A.ShowText.flashTextAdam Vogt1-2/+5
Ignore-this: 7f00a11196115ebf814c616aaf8e96f darcs-hash:20121226013725-1499c-9817853c36bf4bb9bffff8fd465cf6fded22b27e.gz
2012-12-25Add XMonad.Actions.ShowTextpastorelli.mario1-0/+110
Ignore-this: 5f4818f7ec9ad37df58e73d4bb8b5590 darcs-hash:20121225202635-2383e-eb5cae938eb65f8d89feea63d38df6b3df5e3fde.gz
2012-12-15Removes unused function spawnWithActions and redundant imports in ↵c.lopez1-30/+8
XMonad.Actions.Launcher Ignore-this: 76d7ac195e186b491968a548a13889c darcs-hash:20121215223714-c3db2-f8a714bf311052d2cd8524229aba861dbab1beb8.gz
2012-12-15A.Launcher markup identifiers for haddock linksAdam Vogt1-2/+2
Ignore-this: 2fd3fa1dd4e00d573dd359a4b6a7291b darcs-hash:20121215165914-1499c-90a0d641ec06a999d2ef0fc342c539b74e4f1094.gz
2012-12-14Removes LocateMode and LocateRegexMode from XMonad.Actions.Launcherc.lopez1-52/+18
Ignore-this: b8ad32f23f15368a94202f9ad73995f2 darcs-hash:20121214211230-c3db2-89e680d6d3053ece155d7ea60fe98b9a1b09ac60.gz
2012-11-09Remove trailing whitespace.Adam Vogt4-24/+24
Ignore-this: 72e3afb6e6df47c51262006601765365 darcs-hash:20121109014156-1499c-45797b245e25e966e4ca337ee224b593aaac63a0.gz
2012-11-09Use Control.Exception.catch explitly to avoid warningsAdam Vogt1-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
2012-11-09Rename variables "state" to avoid warnings about shadowingAdam Vogt1-2/+2
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
2012-08-26Improves haddock documentationc.lopez1-3/+4
Ignore-this: a0ce4838652acfff7922c111e4d879bb darcs-hash:20120826091716-c3db2-b6bc0898f7935b4b272655521b2468a5ecae49ad.gz
2012-08-11Fixes typos in Actions.Launcher haddock documentationc.lopez1-21/+22
Ignore-this: f8152c0ad59d2b0cc9a6c9061e83aaf0 darcs-hash:20120811112502-c3db2-9bc978530efdb06f908df37149eafb6c2dc61384.gz
2012-06-28Removes warnings, adds a browser value for LauncherConfig in haddock commentsc.lopez1-4/+4
Ignore-this: 2610cf63594db3df61bac52f3d8f5836 darcs-hash:20120628114533-c3db2-3d33399a2794885da3282495d8fd64cfd6911af1.gz
2012-06-28Changes on XPrompt:c.lopez1-0/+177
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
2012-07-06A workscreen permits to display a set of workspaces on severalkedals01-0/+109
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
2012-05-01Fixed X.A.GridSelect to be consistent in the way it (now) sorts the shownJesper Reenberg1-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
2012-04-28Minor haddock formatting for X.L.OnHost and X.A.DynamicWorkspaceOrderAdam Vogt1-1/+1
Ignore-this: 843ec567e249cc96d51ca931f1e36514 darcs-hash:20120428194552-1499c-86afac9105d38cb89e72661bdb2c177b0f3baf1f.gz
2012-04-07add 'withNthWorkspace' to DynamicWorkspaceOrder.jakob1-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
2012-03-12GroupNavigation: fix import typo in usageJens Petersen1-1/+1
Ignore-this: 65367218ca50a33a37813469b4616f34 darcs-hash:20120312103349-2376b-09741eaa177084d78c307e41a1925967bed079d9.gz
2012-03-12add sendToEmptyWorkspace to FindEmptyWorkspaceJens Petersen1-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
2012-01-16Actions.WindowGo: typo fix - trim 's' per cub.uanic ↵gwern01-1/+1
https://code.google.com/p/xmonad/issues/detail?idI1 Ignore-this: fb1d55c1b4609069c55f13523c091260 darcs-hash:20120116224244-f7719-fef0b05cb8879cba9b2087282291f55e6954d644.gz
2012-01-15XMonad.Actions.PhysicalScreens: fix typo spotted by Chris Pick ↵gwern01-2/+1
<haskell@chrispick.com> Ignore-this: eb73b33b07dc58a36d3aa00bc8ac31c2 darcs-hash:20120115223013-f7719-4228a5965af6cfa3a770103ee4d856df3f7540cc.gz
2011-12-08X.A.Navigation2DNorbert Zeh1-0/+778
Ignore-this: 3860cc71bfc08d99bd8279c2e0945186 This is a new module to support directional navigation across multiple screens. As such it is related to X.A.WindowNavigation and X.L.WindowNavigation, but it is more general. For a detailed discussion of the differences, see http://www.cs.dal.ca/~nzeh/xmonad/Navigation2D.pdf. darcs-hash:20111208205842-18a2b-588f34e94f0402a7153d5e9cae60edd322b87c1b.gz
2011-11-18Export types to improve haddock links.Adam Vogt1-1/+4
Ignore-this: 254c5a6941009701dc444043b0eeace5 darcs-hash:20111118190642-1499c-5861d33fcb55726865d62a67a00c91f68564ae2d.gz
2010-10-23Export types to reduce haddock warnings.Adam Vogt8-18/+21
Ignore-this: 1cac9202784711ce0fc902d14543bab0 darcs-hash:20101023195755-1499c-57c41357d20cbf0d57522ce99bdbfff7b686ed52.gz
2011-11-15get ready for GHC 7.4: Num a no longer implies (Eq a, Show a)Daniel Wagner1-2/+2
Ignore-this: faa34d69ddd27b98c6507740b42c9e97 darcs-hash:20111115022650-76d51-10a2e23210b65268ffa3aa606ebba72b6986e77e.gz
2011-09-20Remove X.A.GroupNavigation.currentWindowNorbert Zeh1-7/+2
Ignore-this: 4b202a9c9e3a13c5e34862784ea4acfa This function does the same as X.StackSet.peek and all its uses have been replaced with X.StackSet.peek. darcs-hash:20110920083922-18a2b-617c85f913bacb3ad9239f0a6ee8afc1e4c28d41.gz