aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Make LayoutHints a decoration aware layout modifierAndrea Rossato2008-01-312-5/+9
| | | | darcs-hash:20080131082314-32816-665793ea8ce408fe0bc0f3c9ee9a16fa5404c3b7.gz
* Remove LayoutCombinator class and revert PerWorkspace to its Maybe Bool stateAndrea Rossato2008-01-312-79/+65
| | | | | | | | | | | | | | | | | | | | 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
* SimpleDecoration: export defaultThemeAndrea Rossato2008-01-301-0/+1
| | | | darcs-hash:20080130124609-32816-0bc8bfb0a5f8e9f398a102a1a220cf89c4542299.gz
* Various decorations related updatesSpencer Janssen2008-01-305-161/+80
| | | | | | | | | * remove deprecated TConf stuff * Remove 'style' from DeConf * Change DeConf to Theme * share defaultTheme across all decorations darcs-hash:20080130064624-a5988-98fcf49dde956e318f801e934f2045cf94c951d5.gz
* TwoPane: add description stringJoachim Fasting2008-01-261-0/+1
| | | | darcs-hash:20080126141332-928c4-aa1a6cade461202de96c3526855dceb8d7d72ce4.gz
* LayoutCombinator class: code clean upAndrea Rossato2008-01-292-15/+12
| | | | | | | | - 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-292-93/+109
| | | | | | the new system darcs-hash:20080129192903-32816-de07daf3f32a823c1f3a0e593ff6229b78ae0494.gz
* Named: reimplemented as a LayoutModifier and updated Config.Droundy accordinglyAndrea Rossato2008-01-281-17/+13
| | | | darcs-hash:20080128161343-32816-850ccc526022c8bade35c0cb22581577785fede7.gz
* LayoutModifier: add modifyDescription for completely override the modified ↵Andrea Rossato2008-01-281-3/+5
| | | | | | layout description darcs-hash:20080128160614-32816-0bb2e8e13a656887e5376405f866190874e050ab.gz
* Make ToggleLayouts and Named implement emptyLayoutAndrea Rossato2008-01-282-0/+7
| | | | darcs-hash:20080128151535-32816-be0f1a2f500c8c0e91f9243a7b50721d60047487.gz
* Decoration: the fontset must be released even when we don't decorate the ↵Andrea Rossato2008-01-281-1/+3
| | | | | | | | first window This is quite an old bug! It affected Tabbed since the very beginning..;) darcs-hash:20080128004411-32816-b633765bec3bc29b61a79f1dbc900dec48246368.gz
* Decoration: I forgot we need to release the fontset too!Andrea Rossato2008-01-281-1/+2
| | | | darcs-hash:20080127233521-32816-d2aab29623d0d5744ebb71ddd4a8c2f82f64c2cb.gz
* Decoration: after deleting the windows we must update the layout modifierAndrea Rossato2008-01-281-1/+2
| | | | | | Thanks to Feuerbach for reporting this. darcs-hash:20080127231815-32816-e877922bacb5f3bd37a65c248c745151107b485c.gz
* Reflect: reimplemented as a layout modifier (which makes it compatible with ↵Andrea Rossato2008-01-271-15/+11
| | | | | | windowArranger and decoration) darcs-hash:20080127165854-32816-682cd6eac087a6a394389aa3ca7566626c7aaa32.gz
* SimpleFLoat: change the description to Float (Simple is the decoration ↵Andrea Rossato2008-01-271-1/+1
| | | | | | description) darcs-hash:20080127144556-32816-6b41964a7cf5333b069c075ca69eea9b3cf9e57c.gz
* ResizeScreen has been rewritten as a layout modifierAndrea Rossato2008-01-271-35/+17
| | | | darcs-hash:20080127140837-32816-174838d39b6808123270d6b6e83853dfb49faf4a.gz
* LayoutModifier add a modifyLayoutAndrea Rossato2008-01-271-1/+4
| | | | | | | | | | | | Many layouts are written as layout modifiers because they need to change the stack of the rectangle before executing doLayout. This is a major source of bugs. all layout modifiers should be using the LayoutModifier class. This method (modifyLayout) can be used to manipulate the rectangle and the stack before running doLayout by the layout modifier. darcs-hash:20080127140219-32816-bc3dbfc0be08587b94acead49f384e72c89e2df0.gz
* Make LayoutCombinators deal with emptyLayoutAndrea Rossato2008-01-271-0/+4
| | | | darcs-hash:20080127092415-32816-35b3d878a2c1cb87f5e58711767c4c293d2d544b.gz
* Add ResizeScreen, a layout modifier for modifing the screen geometryAndrea Rossato2008-01-271-0/+81
| | | | darcs-hash:20080127010755-32816-5e5262602de3f23f7da24d9d854fb0d6a4c22e8e.gz
* WindowArranger can now arrange all windowsAndrea Rossato2008-01-272-23/+31
| | | | | | | This is useful for SimpleFloat, whose state can now persists across layout switches. darcs-hash:20080126233053-32816-32077f5bc265ef80b14137e4abe65a82bf9b7378.gz
* Add SimpleFloat a very basic floating layout that will place windows ↵Andrea Rossato2008-01-262-5/+78
| | | | | | according to their size hints darcs-hash:20080126205410-32816-5cbea7a3f698b6e53b6fd9986c4edef7a1d5992e.gz
* WindoWrranger: export the WindowArranger type (see the upcoming SimpleFloat)Andrea Rossato2008-01-261-0/+1
| | | | darcs-hash:20080126204605-32816-e098b938f9dc5d2d2fa667223b7717c021631d77.gz
* ShowWName: show the name of empty layouts tooAndrea Rossato2008-01-261-3/+8
| | | | darcs-hash:20080126190214-32816-3a4f8dadb60f9049888236be1206d3b928bde571.gz
* Decoration: code formatting onlyAndrea Rossato2008-01-261-15/+12
| | | | darcs-hash:20080126101354-32816-58ace2b87a1f52405762930dfea3020ad8bed97f.gz
* export DeConfig to avoid importing DecorationAndrea Rossato2008-01-262-0/+2
| | | | darcs-hash:20080126101049-32816-21a71ad8a3264a955e16906062e6b821ecccf405.gz
* Don't export TConf anymore and export DeConfig insteadAndrea Rossato2008-01-261-1/+2
| | | | | | | | | | | | | | | | | | WARNING: this patch may be breaking your configuration. While it is still possible to use: tabbed shrinkText defaultTConf updating the fields of the defaultTConf record is not possible anymore, since the type TConf is now hidden. WARNING: "tabSize" has been substituted by "decoHeight" You can change your configuration this way: myTConf :: TConf myTConf darcs-hash:20080126092141-32816-e85f5278e303d811f487460f68f0a15082476d2d.gz
* Tabbed now uses DecorationAndrea Rossato2008-01-251-183/+80
| | | | darcs-hash:20080125152311-32816-a9956f4fe81156bb37370082fd18c04e47496844.gz
* Add DwmStyle, a layout modifier to add dwm-style decorations to windows in ↵Andrea Rossato2008-01-251-0/+69
| | | | | | any layout darcs-hash:20080125152152-32816-0480e941cb549521e145d7b02c8d44807f928ccb.gz
* Adde SimpleDecoration, a layout modifier to add simple decorations to ↵Andrea Rossato2008-01-251-0/+69
| | | | | | windows in any layout darcs-hash:20080125152106-32816-342b1ed0a63edfc2726db6b887e2a101d8b71f9b.gz
* Add Layout.Simplest, the simplest layoutAndrea Rossato2008-01-251-0/+41
| | | | darcs-hash:20080125152015-32816-678e0595c75eb62e0124152509accefdf782ae5d.gz
* Add Decoration, a layout modifier and a class for easily writing decorated ↵Andrea Rossato2008-01-251-0/+252
| | | | | | layouts darcs-hash:20080125151726-32816-bc0b6fc3e33a601e2973c08efa71da35f7f0f7ef.gz
* Add WindowArranger, a layout modifier to move and resize windows with the ↵Andrea Rossato2008-01-251-0/+189
| | | | | | keyboard darcs-hash:20080125151633-32816-e2dbfdd6bfc1455c21ce2c8dc02a1010233d4b84.gz
* ShowWName: moved fi to XUtilsAndrea Rossato2008-01-241-4/+0
| | | | darcs-hash:20080124134725-32816-305f741221c5602147daed2798a2c0b28fe3a850.gz
* LayoutModifier: add emptyLayoutMod for dealing with empty workspacesAndrea Rossato2008-01-241-0/+10
| | | | darcs-hash:20080124015605-32816-cdcd0b9509d793e85a2a0acd8d61e1ee69455568.gz
* LayoutModifier: add pureMess and pureModifier to the LayoutModifier classAndrea Rossato2008-01-221-2/+7
| | | | darcs-hash:20080122111319-32816-c35527f71b561f828a4c11cf215e5f2b24d2f539.gz
* Layout.ShowWName: generalize the instanceAndrea Rossato2008-01-151-2/+2
| | | | darcs-hash:20080115045139-32816-93d380b259da4298972a60e3039b7af752626a6b.gz
* add emptyLayout to MultiToggleLukas Mai2008-01-281-0/+2
| | | | darcs-hash:20080128175313-462cf-69da1283ec40c1d853b0eff783a2d6216ed114ab.gz
* add 'single' helper functionLukas Mai2008-01-181-2/+7
| | | | darcs-hash:20080117234550-462cf-6f662a03c8ff21db0951ac2d61b59f1ff89c8ebf.gz
* documentation fixLukas Mai2008-01-181-1/+1
| | | | darcs-hash:20080117234401-462cf-65bb9a13177d58c9d8270e09f1ba2bf06a2ae410.gz
* style assimilationLukas Mai2008-01-181-1/+1
| | | | darcs-hash:20080117234059-462cf-ccbba0b797ee81ac59aa27882ee4bf04af213f15.gz
* Reflect.hs: minor haddock fixBrent Yorgey2008-01-161-1/+1
| | | | darcs-hash:20080116203546-bd4d7-be51c0b0302bee0271a71dd1156ea7a12f318888.gz
* Reflect.hs: use -fglasgow-exts for now instead of LANGUAGE pragmas, for ↵Brent Yorgey2008-01-151-1/+5
| | | | | | compatibility with ghc 6.6 darcs-hash:20080115194811-bd4d7-217e9c6fe19c7faf1f6e4061c9f7b7ee91d81515.gz
* Reflect.hs: add MultiToggle supportBrent Yorgey2008-01-151-6/+40
| | | | darcs-hash:20080115193519-bd4d7-34839d77bcebde1ee6b5ed9b88263231e2291c00.gz
* MultiToggle.hs: improve 'description' implementation in LayoutClass instance ↵Brent Yorgey2008-01-151-2/+2
| | | | | | to display the current transformed layout rather than just 'MultiToggle' darcs-hash:20080115193311-bd4d7-a67d3b834513ad0f23b228708dcb765b2c6a4514.gz
* Layout.Reflect: new contrib module for reflecting layouts ↵Brent Yorgey2008-01-151-0/+81
| | | | | | horizontally/vertically darcs-hash:20080115030947-bd4d7-8983649731d40b9c737d6fe69151b2715425b121.gz
* ShowWName.hs: switch color/bgcolor in call to paintAndWriteBrent Yorgey2008-01-141-2/+2
| | | | darcs-hash:20080114153821-bd4d7-5b11099070c9981c7791d44e991a9abaaa4e9b87.gz
* ShowWName now uses Timer and XUtils to display the workspace nameAndrea Rossato2008-01-131-33/+42
| | | | darcs-hash:20080113091107-32816-dc4979a584b798df3be8d7b1cd49cb3f5a1dd80e.gz
* PerWorkspace.hs: add an explanatory noteBrent Yorgey2007-12-311-0/+7
| | | | darcs-hash:20071231135806-bd4d7-023333ed3121a756d2165919532077f37c0bccda.gz
* Add ShowWName a layout modifier to show the workspace nameAndrea Rossato2007-12-311-0/+95
| | | | | | This module requires dzen darcs-hash:20071231130441-32816-0a0c78f6cbbc2972e965096dfda66afbc05ef1da.gz
* ResizableTile.hs: fix resizing to work in the presence of floating windows ↵Brent Yorgey2007-12-251-6/+12
| | | | | | (resolves issue #100) darcs-hash:20071225135839-bd4d7-3a64bff2c9942018e51078854e6c722329b7cdb0.gz