aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout/PerWorkspace.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-05-28use Data.Default wherever possible, and deprecate the things it replacesDaniel Wagner1-2/+0
Ignore-this: 898458b1d2868a70dfb09faf473dc7aa darcs-hash:20130528013909-76d51-863278165b6f149c47b08b31b34e85ddcab19f1f.gz
2013-05-01Generalises modWorkspace to take any layout-transforming functiongopsychonauts1-12/+13
Ignore-this: 28c7dc1f6216bb1ebdffef5434ccbcbd modWorkspace already was capable of modifying the layout with an arbitrary layout -> layout function, but its original type restricted it such that it could only apply a single LayoutModifier; this was often inconvenient, as for example it was not possible simply to compose LayoutModifiers for use with modWorkspace. This patch also reimplements onWorkspaces in terms of modWorkspaces, since with the latter's less restrictive type this is now possible. darcs-hash:20130501151425-1e6bb-1fc7e26a39fab65bb2bf387db0052f19e7c619fc.gz
2008-06-20Export PerWorkspace to allow type signaturesMalebria1-0/+1
darcs-hash:20080620015046-1ef02-b37da4b45c91384a83a9ee220574941b85f13018.gz
2008-03-26PerWorkspace: add modWorkspace(s) combinators, for selectively applying ↵Brent Yorgey1-6/+33
layout modifiers to certain workspaces but not others darcs-hash:20080326214351-bd4d7-1a632bdd1b70d4aba03fb7c97bb0fea99706ed35.gz
2008-02-23PerWorksapce: use a safer False as defaultAndrea Rossato1-2/+2
darcs-hash:20080223075531-32816-a18f5ed0ee94548710f84cf343f10f37867bb98b.gz
2008-02-22PerWorkspace: reimplemented using runLayoutAndrea Rossato1-73/+27
This way we have a Xinerama safe PerWorkspace and the emptyLayout method for free. darcs-hash:20080222175954-32816-97e4fc1140aa66ead879df019af3f091579251ab.gz
2008-01-31Remove LayoutCombinator class and revert PerWorkspace to its Maybe Bool stateAndrea Rossato1-13/+64
As I said in order to have a CombinedLayout type instace of LayoutClass and a class for easily writing pure and impure combinators to be feeded to the CombinedLayout together with the layouts to be conbined, there's seems to be the need to change the type of the LayoutClass.description method from l a -> String to l a -> X String. Without that "ugly" change - loosing the purity of the description (please note the *every* methods of that class unless description operates in the X monad) - I'm plainly unable to write something really useful and maintainable. If someone can point me in the right direction I would really really appreciate. Since, in the meantime, PerWorkspace, which has its users, is broken and I broke it, I'm reverting it to it supposedly more beautiful PerWorkspac [WorkspaceId] (Maybe Bool) (l1 a) (l2 a) type. darcs-hash:20080131063929-32816-8e37919b38c70675a90e492f0c29674061ba3968.gz
2008-01-29LayoutCombinator class: code clean upAndrea Rossato1-3/+2
- ComboType becomes CombboChooser - removed the stupid doFirst - better comboDescription default implemenation darcs-hash:20080129224952-32816-66fc976c8c1c4ce9faa480fc4876f063f7aebd4b.gz
2008-01-29Add a LayoutCombinator class and a CombinedLayout and port PerWorkspace to ↵Andrea Rossato1-64/+14
the new system darcs-hash:20080129192903-32816-de07daf3f32a823c1f3a0e593ff6229b78ae0494.gz
2007-12-31PerWorkspace.hs: add an explanatory noteBrent Yorgey1-0/+7
darcs-hash:20071231135806-bd4d7-023333ed3121a756d2165919532077f37c0bccda.gz
2007-12-08Remove redundant importsSpencer Janssen1-1/+0
darcs-hash:20071207233827-a5988-9e41d51120499637f14d115f2cf1428edaf326bb.gz
2007-11-20PerWorkspace.hs: various fixes and updatesBrent Yorgey1-25/+38
darcs-hash:20071120173307-bd4d7-80bc037c6db365719e2bf978da0431233811f0d1.gz
2007-11-20PerWorkspace.hs: minor haddock fixesAndrea Rossato1-6/+1
Also, we don't need to add those docstring annotation (%...), since that system is not used anymore. darcs-hash:20071120103250-32816-b41b1b6a680c4af75b382721c2597e401c7b1fc3.gz
2007-11-20new contrib module: Layout.PerWorkspaceBrent Yorgey1-0/+131
This module allows you to configure layouts on a per-workspace basis, rather than specifying the same layout for all workspaces. (Of course, you still really *are* specifying the same layout for all workspaces, it just acts differently depending on the workspace. darcs-hash:20071120024612-bd4d7-742aa9157b0c9f3d0f4f54c5c61d4299cf37bd8a.gz