aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout/PerWorkspace.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Generalises modWorkspace to take any layout-transforming functiongopsychonauts2013-05-011-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
* Export PerWorkspace to allow type signaturesMalebria2008-06-201-0/+1
| | | | darcs-hash:20080620015046-1ef02-b37da4b45c91384a83a9ee220574941b85f13018.gz
* PerWorkspace: add modWorkspace(s) combinators, for selectively applying ↵Brent Yorgey2008-03-261-6/+33
| | | | | | layout modifiers to certain workspaces but not others darcs-hash:20080326214351-bd4d7-1a632bdd1b70d4aba03fb7c97bb0fea99706ed35.gz
* PerWorksapce: use a safer False as defaultAndrea Rossato2008-02-231-2/+2
| | | | darcs-hash:20080223075531-32816-a18f5ed0ee94548710f84cf343f10f37867bb98b.gz
* PerWorkspace: reimplemented using runLayoutAndrea Rossato2008-02-221-73/+27
| | | | | | | This way we have a Xinerama safe PerWorkspace and the emptyLayout method for free. darcs-hash:20080222175954-32816-97e4fc1140aa66ead879df019af3f091579251ab.gz
* Remove LayoutCombinator class and revert PerWorkspace to its Maybe Bool stateAndrea Rossato2008-01-311-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
* LayoutCombinator class: code clean upAndrea Rossato2008-01-291-3/+2
| | | | | | | | - ComboType becomes CombboChooser - removed the stupid doFirst - better comboDescription default implemenation darcs-hash:20080129224952-32816-66fc976c8c1c4ce9faa480fc4876f063f7aebd4b.gz
* Add a LayoutCombinator class and a CombinedLayout and port PerWorkspace to ↵Andrea Rossato2008-01-291-64/+14
| | | | | | the new system darcs-hash:20080129192903-32816-de07daf3f32a823c1f3a0e593ff6229b78ae0494.gz
* PerWorkspace.hs: add an explanatory noteBrent Yorgey2007-12-311-0/+7
| | | | darcs-hash:20071231135806-bd4d7-023333ed3121a756d2165919532077f37c0bccda.gz
* Remove redundant importsSpencer Janssen2007-12-081-1/+0
| | | | darcs-hash:20071207233827-a5988-9e41d51120499637f14d115f2cf1428edaf326bb.gz
* PerWorkspace.hs: various fixes and updatesBrent Yorgey2007-11-201-25/+38
| | | | darcs-hash:20071120173307-bd4d7-80bc037c6db365719e2bf978da0431233811f0d1.gz
* PerWorkspace.hs: minor haddock fixesAndrea Rossato2007-11-201-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
* new contrib module: Layout.PerWorkspaceBrent Yorgey2007-11-201-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