aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-01-31Make LayoutHints a decoration aware layout modifierAndrea Rossato2-5/+9
darcs-hash:20080131082314-32816-665793ea8ce408fe0bc0f3c9ee9a16fa5404c3b7.gz
2008-01-31Remove LayoutCombinator class and revert PerWorkspace to its Maybe Bool stateAndrea Rossato2-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
2008-01-30SimpleDecoration: export defaultThemeAndrea Rossato1-0/+1
darcs-hash:20080130124609-32816-0bc8bfb0a5f8e9f398a102a1a220cf89c4542299.gz
2008-01-30Various decorations related updatesSpencer Janssen5-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
2008-01-26TwoPane: add description stringJoachim Fasting1-0/+1
darcs-hash:20080126141332-928c4-aa1a6cade461202de96c3526855dceb8d7d72ce4.gz
2008-01-29LayoutCombinator class: code clean upAndrea Rossato2-15/+12
- 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 Rossato2-93/+109
the new system darcs-hash:20080129192903-32816-de07daf3f32a823c1f3a0e593ff6229b78ae0494.gz
2008-01-28Named: reimplemented as a LayoutModifier and updated Config.Droundy accordinglyAndrea Rossato1-17/+13
darcs-hash:20080128161343-32816-850ccc526022c8bade35c0cb22581577785fede7.gz
2008-01-28LayoutModifier: add modifyDescription for completely override the modified ↵Andrea Rossato1-3/+5
layout description darcs-hash:20080128160614-32816-0bb2e8e13a656887e5376405f866190874e050ab.gz
2008-01-28Make ToggleLayouts and Named implement emptyLayoutAndrea Rossato2-0/+7
darcs-hash:20080128151535-32816-be0f1a2f500c8c0e91f9243a7b50721d60047487.gz
2008-01-28Decoration: the fontset must be released even when we don't decorate the ↵Andrea Rossato1-1/+3
first window This is quite an old bug! It affected Tabbed since the very beginning..;) darcs-hash:20080128004411-32816-b633765bec3bc29b61a79f1dbc900dec48246368.gz
2008-01-28Decoration: I forgot we need to release the fontset too!Andrea Rossato1-1/+2
darcs-hash:20080127233521-32816-d2aab29623d0d5744ebb71ddd4a8c2f82f64c2cb.gz
2008-01-28Decoration: after deleting the windows we must update the layout modifierAndrea Rossato1-1/+2
Thanks to Feuerbach for reporting this. darcs-hash:20080127231815-32816-e877922bacb5f3bd37a65c248c745151107b485c.gz
2008-01-27Reflect: reimplemented as a layout modifier (which makes it compatible with ↵Andrea Rossato1-15/+11
windowArranger and decoration) darcs-hash:20080127165854-32816-682cd6eac087a6a394389aa3ca7566626c7aaa32.gz
2008-01-27SimpleFLoat: change the description to Float (Simple is the decoration ↵Andrea Rossato1-1/+1
description) darcs-hash:20080127144556-32816-6b41964a7cf5333b069c075ca69eea9b3cf9e57c.gz
2008-01-27ResizeScreen has been rewritten as a layout modifierAndrea Rossato1-35/+17
darcs-hash:20080127140837-32816-174838d39b6808123270d6b6e83853dfb49faf4a.gz
2008-01-27LayoutModifier add a modifyLayoutAndrea Rossato1-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
2008-01-27Make LayoutCombinators deal with emptyLayoutAndrea Rossato1-0/+4
darcs-hash:20080127092415-32816-35b3d878a2c1cb87f5e58711767c4c293d2d544b.gz
2008-01-27Add ResizeScreen, a layout modifier for modifing the screen geometryAndrea Rossato1-0/+81
darcs-hash:20080127010755-32816-5e5262602de3f23f7da24d9d854fb0d6a4c22e8e.gz
2008-01-27WindowArranger can now arrange all windowsAndrea Rossato2-23/+31
This is useful for SimpleFloat, whose state can now persists across layout switches. darcs-hash:20080126233053-32816-32077f5bc265ef80b14137e4abe65a82bf9b7378.gz
2008-01-26Add SimpleFloat a very basic floating layout that will place windows ↵Andrea Rossato2-5/+78
according to their size hints darcs-hash:20080126205410-32816-5cbea7a3f698b6e53b6fd9986c4edef7a1d5992e.gz
2008-01-26WindoWrranger: export the WindowArranger type (see the upcoming SimpleFloat)Andrea Rossato1-0/+1
darcs-hash:20080126204605-32816-e098b938f9dc5d2d2fa667223b7717c021631d77.gz
2008-01-26ShowWName: show the name of empty layouts tooAndrea Rossato1-3/+8
darcs-hash:20080126190214-32816-3a4f8dadb60f9049888236be1206d3b928bde571.gz
2008-01-26Decoration: code formatting onlyAndrea Rossato1-15/+12
darcs-hash:20080126101354-32816-58ace2b87a1f52405762930dfea3020ad8bed97f.gz
2008-01-26export DeConfig to avoid importing DecorationAndrea Rossato2-0/+2
darcs-hash:20080126101049-32816-21a71ad8a3264a955e16906062e6b821ecccf405.gz
2008-01-26Don't export TConf anymore and export DeConfig insteadAndrea Rossato1-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
2008-01-25Tabbed now uses DecorationAndrea Rossato1-183/+80
darcs-hash:20080125152311-32816-a9956f4fe81156bb37370082fd18c04e47496844.gz
2008-01-25Add DwmStyle, a layout modifier to add dwm-style decorations to windows in ↵Andrea Rossato1-0/+69
any layout darcs-hash:20080125152152-32816-0480e941cb549521e145d7b02c8d44807f928ccb.gz
2008-01-25Adde SimpleDecoration, a layout modifier to add simple decorations to ↵Andrea Rossato1-0/+69
windows in any layout darcs-hash:20080125152106-32816-342b1ed0a63edfc2726db6b887e2a101d8b71f9b.gz
2008-01-25Add Layout.Simplest, the simplest layoutAndrea Rossato1-0/+41
darcs-hash:20080125152015-32816-678e0595c75eb62e0124152509accefdf782ae5d.gz
2008-01-25Add Decoration, a layout modifier and a class for easily writing decorated ↵Andrea Rossato1-0/+252
layouts darcs-hash:20080125151726-32816-bc0b6fc3e33a601e2973c08efa71da35f7f0f7ef.gz
2008-01-25Add WindowArranger, a layout modifier to move and resize windows with the ↵Andrea Rossato1-0/+189
keyboard darcs-hash:20080125151633-32816-e2dbfdd6bfc1455c21ce2c8dc02a1010233d4b84.gz
2008-01-24ShowWName: moved fi to XUtilsAndrea Rossato1-4/+0
darcs-hash:20080124134725-32816-305f741221c5602147daed2798a2c0b28fe3a850.gz
2008-01-24LayoutModifier: add emptyLayoutMod for dealing with empty workspacesAndrea Rossato1-0/+10
darcs-hash:20080124015605-32816-cdcd0b9509d793e85a2a0acd8d61e1ee69455568.gz
2008-01-22LayoutModifier: add pureMess and pureModifier to the LayoutModifier classAndrea Rossato1-2/+7
darcs-hash:20080122111319-32816-c35527f71b561f828a4c11cf215e5f2b24d2f539.gz
2008-01-15Layout.ShowWName: generalize the instanceAndrea Rossato1-2/+2
darcs-hash:20080115045139-32816-93d380b259da4298972a60e3039b7af752626a6b.gz
2008-01-28add emptyLayout to MultiToggleLukas Mai1-0/+2
darcs-hash:20080128175313-462cf-69da1283ec40c1d853b0eff783a2d6216ed114ab.gz
2008-01-18add 'single' helper functionLukas Mai1-2/+7
darcs-hash:20080117234550-462cf-6f662a03c8ff21db0951ac2d61b59f1ff89c8ebf.gz
2008-01-18documentation fixLukas Mai1-1/+1
darcs-hash:20080117234401-462cf-65bb9a13177d58c9d8270e09f1ba2bf06a2ae410.gz
2008-01-18style assimilationLukas Mai1-1/+1
darcs-hash:20080117234059-462cf-ccbba0b797ee81ac59aa27882ee4bf04af213f15.gz
2008-01-16Reflect.hs: minor haddock fixBrent Yorgey1-1/+1
darcs-hash:20080116203546-bd4d7-be51c0b0302bee0271a71dd1156ea7a12f318888.gz
2008-01-15Reflect.hs: use -fglasgow-exts for now instead of LANGUAGE pragmas, for ↵Brent Yorgey1-1/+5
compatibility with ghc 6.6 darcs-hash:20080115194811-bd4d7-217e9c6fe19c7faf1f6e4061c9f7b7ee91d81515.gz
2008-01-15Reflect.hs: add MultiToggle supportBrent Yorgey1-6/+40
darcs-hash:20080115193519-bd4d7-34839d77bcebde1ee6b5ed9b88263231e2291c00.gz
2008-01-15MultiToggle.hs: improve 'description' implementation in LayoutClass instance ↵Brent Yorgey1-2/+2
to display the current transformed layout rather than just 'MultiToggle' darcs-hash:20080115193311-bd4d7-a67d3b834513ad0f23b228708dcb765b2c6a4514.gz
2008-01-15Layout.Reflect: new contrib module for reflecting layouts ↵Brent Yorgey1-0/+81
horizontally/vertically darcs-hash:20080115030947-bd4d7-8983649731d40b9c737d6fe69151b2715425b121.gz
2008-01-14ShowWName.hs: switch color/bgcolor in call to paintAndWriteBrent Yorgey1-2/+2
darcs-hash:20080114153821-bd4d7-5b11099070c9981c7791d44e991a9abaaa4e9b87.gz
2008-01-13ShowWName now uses Timer and XUtils to display the workspace nameAndrea Rossato1-33/+42
darcs-hash:20080113091107-32816-dc4979a584b798df3be8d7b1cd49cb3f5a1dd80e.gz
2007-12-31PerWorkspace.hs: add an explanatory noteBrent Yorgey1-0/+7
darcs-hash:20071231135806-bd4d7-023333ed3121a756d2165919532077f37c0bccda.gz
2007-12-31Add ShowWName a layout modifier to show the workspace nameAndrea Rossato1-0/+95
This module requires dzen darcs-hash:20071231130441-32816-0a0c78f6cbbc2972e965096dfda66afbc05ef1da.gz
2007-12-25ResizableTile.hs: fix resizing to work in the presence of floating windows ↵Brent Yorgey1-6/+12
(resolves issue #100) darcs-hash:20071225135839-bd4d7-3a64bff2c9942018e51078854e6c722329b7cdb0.gz