aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* XMonad.Util.Scratchpad: change 'XConfig Layout' to 'XConfig l', to avoid ↵Brent Yorgey2008-02-271-2/+2
| | | | | | type mismatches; the exact layout type doesn't actually matter darcs-hash:20080227014201-bd4d7-575e99d56112ff746a07505f59d6b63d36953846.gz
* EZConfig: add an emacs-style keybinding parser!Brent Yorgey2008-02-261-8/+279
| | | | | | | | | | | | | | Now, instead of writing out incredibly dull things like ((modMask conf .|. controlMask .|. shiftMask, xK_F2), ...) you can just write ("M-C-S-<F2>", ...) Hooray! darcs-hash:20080226222723-bd4d7-9990a79938a01b53d11f2a27488b127333b52685.gz
* Xmonad.Actions.MouseGestures: generalize interface, allow hooksLukas Mai2008-02-261-27/+40
| | | | darcs-hash:20080226202639-462cf-6c4b586a2abbe11cf8c81ffc9e9a81dcedf16da1.gz
* update inactive debugging code in MouseGestures; no visible changesLukas Mai2007-11-091-4/+9
| | | | darcs-hash:20071109020755-462cf-88b4b53f2889a8c912eb5af1b7eb2c47980c8616.gz
* Scratchpad terminalBraden Shepherdson2008-02-252-0/+82
| | | | | | | | | | | | Key binding and ManageHook to pop up a small, floating terminal window for a few quick commands. Combined with a utility like detach[1], makes a great X application launcher. Requires my two new ManageHooks (doRectFloat, specifically). [1] http://detach.sourceforge.net darcs-hash:20080225183633-d53a8-d3d517320cd98c1b6ea2abe82262a0a6877f1406.gz
* Two new floating window ManageHooks.Braden Shepherdson2008-02-251-1/+17
| | | | | | | Adds doRectFloat, which floats the new window in the given rectangle; and doCenterFloat, which floats the new window with its original size, but centered. darcs-hash:20080225183337-d53a8-e9e6680266618483dec2cd900e9be8219e1e89f7.gz
* Fix usage doc.Roman Cheplyaka2008-02-251-1/+5
| | | | darcs-hash:20080225062330-3ebed-1fe5bc4fac5b597a87b0c8302ddee3379615fca1.gz
* Fix haddock hyperlink.Roman Cheplyaka2008-02-241-1/+1
| | | | darcs-hash:20080224205416-3ebed-45026892c714db76422b2d83b2963651e3f205ba.gz
* Add XMonad.Layout.IMRoman Cheplyaka2008-02-212-0/+108
| | | | darcs-hash:20080221085752-3ebed-afacdaba6147abfc4fd3a2435c064e1d76e65ef6.gz
* Export XMonad.Layout.Grid.arrange (for use in XMonad.Layout.IM)Roman Cheplyaka2008-02-211-1/+1
| | | | darcs-hash:20080221062204-3ebed-58d97720acb908b2185372f434921a95389e5e08.gz
* Decoration: some haddock updatesAndrea Rossato2008-02-201-5/+2
| | | | darcs-hash:20080220214934-32816-92ef34d4eddb3769bcd71eede75aa77936771642.gz
* Small refactoring.Nils Anders Danielsson2008-02-101-21/+35
| | | | darcs-hash:20080210224756-9990f-b6287e5e35b83c7e6b13ed90d7f8b34720eada36.gz
* Fixed off-by-one error which broke strut handling for some panels.Nils Anders Danielsson2008-02-101-4/+19
| | | | darcs-hash:20080210222600-9990f-30f64da2f26b6673e57eb981fc4acfcbcb414744.gz
* Decoration: fix an issue with decoration window creation and moreAndrea Rossato2008-02-201-24/+16
| | | | | | | | | | | | - fix a bug reported by Roman Cheplyaka: when decorate returned Nothing the window was never going to be created, even if decorate was reporting a Just Rectangle in the next run. Quite a deep issue, still visible only with TabbedDecoration at the present time. - remove decorateFirst (decorate has enough information to decide whether a window is the first one or not, am I right, David?) - some point free. darcs-hash:20080220204355-32816-cd94ee4ca68145f3c9a594f3fc4ed3a5d4eece5e.gz
* DynamicLog.hs: haddock fixAndrea Rossato2008-02-201-1/+1
| | | | | | | | | | | | | | Someone forgot to check if her patch was going to break haddock docs generation or not. So, while I was recording a patch with quite a long description I had to manually write - sound strange? -, I found out that my patch did not pass the tests, because of this haddock problem left behind. And so I fixed it, recorded this patch, with the hope the my next description of the next patch I'm going to record will survive the test suite we created to avoid this kind of problems for. darcs-hash:20080220204033-32816-c937fe0e85fdd671c06991b0f2fc507222734c97.gz
* improvements to XMonad.Hooks.DynamicLog, and new contrib module ↵Brent Yorgey2008-02-193-64/+245
| | | | | | | | | | | | | | | | | | | XMonad.Util.Loggers Improvements to DynamicLog include: * Greatly expanded and improved documentation and examples * remove seemingly useless makeSimpleDzenConfig function * factor out xmobarPP * add new ppExtras field to PP record, for specifying 'extra' loggers which can supply information other than window title, layout, and workspace status to a status bar (for example, time and date, battery status, mail status, etc.) The new XMonad.Util.Loggers module provides some example loggers that can be used in the new ppExtras field of the PP record. Create your own, add them to this module, go crazy! darcs-hash:20080219210128-bd4d7-33f4bcf2732069a5b7cf7584efa6ee060604c40b.gz
* LayoutHints: fix a wrong fixAndrea Rossato2008-02-191-1/+1
| | | | | | | The case analisys of my fix should be the other way around... this is the real fix. darcs-hash:20080219165127-32816-a2c283dcd6160e5a3f776de214c63f8213681220.gz
* Arossato: updated to latest changesAndrea Rossato2008-02-191-21/+6
| | | | darcs-hash:20080219163058-32816-f4ee70039b716c5deada21fe3cac43544dca1b71.gz
* Decoration: comment onlyAndrea Rossato2008-02-191-22/+123
| | | | | | This is a detailed commentary of all the code. darcs-hash:20080219161339-32816-ade08d0a4a9f956aaa0d2ff03ed51c2fd533c1d2.gz
* Decoratione: generate rectangles first, and create windows accordinglyAndrea Rossato2008-02-191-57/+71
| | | | | | | | | | With this patch Decoration will first generate a rectangle and only if there is a rectangle available a window will be created. This makes the Decoration state a bit more difficult to process, but should reduce resource consumption. darcs-hash:20080219122115-32816-56ccaf1fed88e2830d6cd76d346eaca119d3143a.gz
* Fix doc for TabbedRoman Cheplyaka2008-02-191-1/+1
| | | | darcs-hash:20080219055650-3ebed-f291d5c9d6d0bc5f033d562d412f1f1da82cfde4.gz
* Tabbed and TabBarDecoration: no need to implement decorateFirst (the default ↵Andrea Rossato2008-02-182-2/+0
| | | | | | is used) darcs-hash:20080218184950-32816-890c8dacefeb117b22f9379f66d468fb8023046e.gz
* TabBarDecoration: simpleTabBar automatically applies resizeVerticalAndrea Rossato2008-02-182-10/+20
| | | | | | Added some comments too. darcs-hash:20080218180922-32816-48097596437bbc30cd3414a7555fa5cf55ecec75.gz
* DwmStyle: comment fix onlyAndrea Rossato2008-02-181-1/+1
| | | | darcs-hash:20080218180727-32816-12dafebdd563467b3af77f1c55178cb802680f09.gz
* ResizeScreen: add resizeHorizontalRight and resizeVerticalBottomAndrea Rossato2008-02-181-9/+18
| | | | darcs-hash:20080218180504-32816-dc75b3ec16dce681aefe717b3c16e8cc200ccbb8.gz
* Add TabBarDecoration, a layout modifier to add a bar of tabs to any layoutAndrea Rossato2008-02-183-53/+101
| | | | | | ... and port DecorationMadness to the new system. darcs-hash:20080218161121-32816-5c834c6f6c2c8b156a20f140ee15049c87f623b8.gz
* add Eq superclass to DecorationStyle and change styles in order not to ↵Andrea Rossato2008-02-185-16/+25
| | | | | | decorate non managed windows darcs-hash:20080218131320-32816-44ecfbd0dca9eb353a569898deefebef9f7088ed.gz
* Refactor MouseResize, remove isDecoration and introduce isInStack, ↵Andrea Rossato2008-02-183-34/+69
| | | | | | | | | | | | | | | | isVisible, isInvisible This patch includes several changes, which are strictly related and cannot be recorded separately: - remove Decoraion.isDecoartion and introduce Decoration.isInStack (with the related change to LayoutHints) - in Decoration introduce useful utilities: isVisible, isInvisible, isWithin and lookFor' - MouseResize: - invisible inputOnly windows will not be created; - fix a bug in the read instance which caused a failure in the state deserialization. darcs-hash:20080218105726-32816-9d42d4fdff75fad3258aec92d059e5155f0e64bc.gz
* Prompt: regenerate completion list if there's just one completionAndrea Rossato2008-02-171-6/+7
| | | | darcs-hash:20080217132734-32816-89f7cd67e3efb65eb2bbd0b553f04ba8c4fc973b.gz
* Prompt.Theme: use mkComplFunFromList' to generate completionsAndrea Rossato2008-02-171-1/+1
| | | | darcs-hash:20080217124453-32816-d4fb1ea697f61ea428d2d849eaea741ba5d2c539.gz
* some code formattingAndrea Rossato2008-02-172-10/+10
| | | | darcs-hash:20080217124434-32816-3ea034e6955a1a8d674f84d99fcc8c96df78a359.gz
* Prompt: comment only (clafiry completionToCommand uses)Andrea Rossato2008-02-161-5/+7
| | | | darcs-hash:20080216181620-32816-0829370170cd174d12c57bc9e2fdfff1c6e65ab2.gz
* Prompt: comment only (remove confusing remarks about commandToComplete)Andrea Rossato2008-02-161-4/+2
| | | | darcs-hash:20080216180412-32816-2ab2805db2d6cb0207d3d0da64696f79eba9e180.gz
* Prompt: haddock fixes onlyAndrea Rossato2008-02-161-24/+31
| | | | darcs-hash:20080216172331-32816-8b5de92d2cd4bed79a02d51b4efc53c4d7738b86.gz
* Prompt.XMonad: use mkComplFunFromList' to get all the completions with an ↵Andrea Rossato2008-02-161-2/+2
| | | | | | empty command line darcs-hash:20080216133949-32816-6a80869c750b424462ac2a4639a47574cfe5d61e.gz
* Prompt.Window: remove unneeded and ugly escaping/unescapingAndrea Rossato2008-02-161-12/+6
| | | | darcs-hash:20080216133842-32816-e47eca7967f6fd2134473fc9114113d744a0a57a.gz
* Theme: move theme's nextCompletion implementation to Prompt.getNextCompletionAndrea Rossato2008-02-161-4/+1
| | | | darcs-hash:20080216133738-32816-bcecfaa205c235b6e480a25bdc03d222aa205d51.gz
* Shell: escape the string in the command line onlyAndrea Rossato2008-02-161-2/+3
| | | | darcs-hash:20080216133651-32816-c092df2db541278400906696550f43b6052a5e9a.gz
* Prompt: add some methods to make completions more flexibleAndrea Rossato2008-02-162-24/+47
| | | | | | | | | | | | - now it is possible to decide if the prompt will complete the last word of the command line or the whole line (default is the last word); - completing the last word can be fine tuned by implementing 'commandToComplete' and 'completionToCommand': see comments for details; - move mkComplFunFromList' from TagWindows to Prompt. darcs-hash:20080216133454-32816-86eba16c4c73357b5bf6fee185c652d5ecd75521.gz
* Prompt.Theme: display all theme information and handle completion accordinglyAndrea Rossato2008-02-161-2/+8
| | | | darcs-hash:20080216114159-32816-3a53fcae3f880fcd243f0ed2f967dc0f5a506068.gz
* Prompt.Shell: if there's just one completion and it is a directory add a ↵Andrea Rossato2008-02-161-2/+8
| | | | | | trailing slash darcs-hash:20080216114005-32816-f4b424bd543885bff361b75ad1cc7e7511260f6a.gz
* Prompt: added nextCompletion and commandToComplete methods to fine tune ↵Andrea Rossato2008-02-161-21/+29
| | | | | | prompts' completion functions darcs-hash:20080216113723-32816-d9d5e1ea31cb1477bbcd9710e08d98bb4ab3fe15.gz
* Util.Themes: add ppThemeInfor to render the theme infoAndrea Rossato2008-02-161-0/+7
| | | | darcs-hash:20080216113635-32816-25cdcb42aa91c55c1d9d71a3a0cb1ebd882d53f8.gz
* DecorationMadness: resizable layouts now use MouseResize tooAndrea Rossato2008-02-121-46/+63
| | | | darcs-hash:20080212173645-32816-7febc46c59d76c483d083c870227025aa86a7d34.gz
* SimpleFloat now uses MouseResizeAndrea Rossato2008-02-121-4/+5
| | | | darcs-hash:20080212173615-32816-4819108b6ea9331f60e04a7262f1fbe86f4dbcd4.gz
* Add Actions.MouseResize: a layout modifier to resize windows with the mouseAndrea Rossato2008-02-122-0/+120
| | | | darcs-hash:20080212173455-32816-f3c4d9428563eea98d8ad0588f0e73c267dab491.gz
* Decoration: remove mouse resize and moreAndrea Rossato2008-02-121-17/+15
| | | | | | | | | | - since mouse resize is not related to decoration, I removed the code from here. Mouse resize will be handled by a separated layout modifier (in a separated module) - now also stacked decoration will be removed (I separated insert_dwr from remove_stacked) darcs-hash:20080212165306-32816-1272c6e2d3aaaecb389a6e655f22d35c21a40168.gz
* Decoration.hs: variable names consistency onlyAndrea Rossato2008-02-111-6/+6
| | | | darcs-hash:20080211123056-32816-c5f74aca2d52d7ed30ed9bebaacda2d30b3244c1.gz
* Tabbed and SimpleTabbed (in DecorationMadness) define their own ↵Andrea Rossato2008-02-112-0/+2
| | | | | | | | decorationMouseDragHook method ... to disable mouse drag in tabbed layouts darcs-hash:20080211114043-32816-5d2387c5ecc443956694e1b6f572e7741b6e96bd.gz
* Decoration: DecorationStyle class cleanup and focus/drag unificationAndrea Rossato2008-02-111-16/+34
| | | | | | | | | | - moved decoEventHook to decorationEventHook - added decorationMouseFocusHook, decorationMouseDragHook, decorationMouseResizeHook methods - added a handleMouseFocusDrag to focus and drag a window (which makes it possible to focus *and* drag unfocused windows too darcs-hash:20080211113650-32816-ac63185747020d74f295ff70bd179d5750bbe4de.gz