New patches: [MetaModule.hs: add ManPrompt, remove ViewPrev "Valery V. Vorotyntsev" **20071029075621] { hunk ./MetaModule.hs 54 +import XMonadContrib.ManPrompt () hunk ./MetaModule.hs 83 -import XMonadContrib.ViewPrev () } Context: [Factor out some of dzenPP's goodies Spencer Janssen **20071029015556] [Don't reverse sjanssenPP Spencer Janssen **20071028224843] [MetaModule.hs: someone forgot the (), so GHC was giving a warning. Small fix to quiet the warning. gwern0@gmail.com**20071027150847] [ViewPrev.hs: deleted "Valery V. Vorotyntsev" **20071027090937 Its functionality is now part of CycleWS module. CycleWS.hs: Nelson Elhage added to authors. ] [add more details on using smartBorders Don Stewart **20071026224510] [add dynamicLogDzen, a dwm status bar, using dzen colour codes Don Stewart **20071026221944] [XPrompt: removed unneeded parenteses Andrea Rossato **20071026221505] [ShellPrompt: remove harcoded path when calling bash Andrea Rossato **20071026212334] [ShellPrompt: reformat the comments to complay with the module style Andrea Rossato **20071026211956] [XPrompt: catch exceptions when running the completion function Andrea Rossato **20071026211859] [CycleWS: StackSet.findIndex is now findTag Andrea Rossato **20071026211802] [Dzen.hs: replace 'findIndex' by 'findTag' to match renaming in core. Brent Yorgey **20071022204335] [XPrompt.hs: add sensible bindings for Home and End gwern0@gmail.com**20071026035026] [XPrompt.hs: add a pasteString function and keybinding gwern0@gmail.com**20071026034920] [TilePrime.hs: Handle nmaster = 0 reasonably Eric Mertens **20071025001750] [oops, add period Devin Mullins **20071024125448] [expand Invisible comments Devin Mullins **20071024125213] [Run.hs: documentation fix "Valery V. Vorotyntsev" **20071024144244] [SshPrompt.hs: use `uniqSort' from XPrompt.hs "Valery V. Vorotyntsev" **20071024144128 Remove excessive import lists. ] [ManPrompt.hs: use `uniqSort' from XPrompt.hs "Valery V. Vorotyntsev" **20071024143905 TODO list extended. ] [ShellPrompt.hs: move `uniqSort' to XPrompt.hs "Valery V. Vorotyntsev" **20071024143820] [XPrompt.hs (uniqSort): new function "Valery V. Vorotyntsev" **20071024142241 Moved from ShellPrompt. There are at least three happy users of this function -- ShellPrompt, SshPrompt, and ManPrompt. ] [Remove excessive import lists from ShellPrompt Spencer Janssen **20071024113106] [Use new terminal config option Spencer Janssen **20071024110219] [Run.hs: do my usual segregation into safe and unsafe runInTerms gwern0@gmail.com**20071024003911] [Run.hs: specialize runInXTerm to use runInTerm per my mailing list suggestion gwern0@gmail.com**20071024001856] [Run.hs: +my suggested runInTerm general function gwern0@gmail.com**20071024001628] [Run.hs, SshPrompt.hs, ShellPrompt.hs: mv runInXTerm back into Run.hs per suggestions gwern0@gmail.com**20071024001341] [Comments for ConstrainedResize Dougal Stanton **20071020092509] [Add ConstrainedResize module Dougal Stanton **20071019173508 Constrain the aspect ratio of floated windows by holding down shift ] [fix stupid dzenUrgencyHook bug Devin Mullins **20071021061308] [XPrompt.hs: fix vertical alignment of completions. Dmitry Kurochkin **20071023183129] [fix bug in DragPane (where we forgot that r was mirrored). David Roundy **20071023152448] [STRUT aware gap toggling (clean patch) mail@joachim-breitner.de**20071022220132 Without this patch, ManageDocks would only set the gap according to a window���s STRUT when the window is first mapped. This information would then get lost when the user toggle the gap. Now, when the user toggles the Gap, all present windows are scanned for STRUT settings, and the gap is set accordingly. No need to manually configure the gap anymore. This is the same patch as before, but independant of the Hooks patches, and with more documentation. ] [add new LayoutCombinators module. David Roundy **20071023135638] [export DragPane type. David Roundy **20071023134933] [make DragPane work with any type (not just Windows). David Roundy **20071023134911] [SshPrompt.hs: while I'm here, replace nub with the faster Set trick gwern0@gmail.com**20071019181514] [ShellPrompt.hs: fmt imports and update gwern0@gmail.com**20071019181317] [SshPrompt.hs: fmt imports and update gwern0@gmail.com**20071019181255] [XSelection.hs: fmt imports and sigs gwern0@gmail.com**20071019181232] [XSelection.hs: +2 functions, safePromptSelection and unsafePromptSelection gwern0@gmail.com**20071019181137 Analogous to Run.hs patch; these use safeSpawn and unsafeSpawn respectively. ] [Run.hs: +2 functions, safeSpawn & unsafeSpawn gwern0@gmail.com**20071019181009 See their documentation. This is part of a re-organization of various 'run' commands; this two make it easier to go through the shell or not, and will be re-used elsewhere. ] [Run.hs: fmt gwern0@gmail.com**20071019180953] [Run.hs, ShellPrompt.sh: mv runInXTerm to ShellPrompt.hs gwern0@gmail.com**20071019180900] [XSelection.hs: documentation format changes. gwern0@gmail.com**20071019010057] [XSelection.hs: +type signature for auxiliary function gwern0@gmail.com**20071019010034] [XSelection.hs: simplify creation of window gwern0@gmail.com**20071019010013 While spelunking in the xclip source code, I noticed it had much the same call to createSimpleWindow but with a simpler geometry - just 1x1 pixels, not the odd 200x100 of the original code. It seems to work the same and looks better and less mysterious, so unless arossato had a specific reason for those particular two numbers... ] [XPrompt.hs: use a single blank "Valery V. Vorotyntsev" **20071022192310 Excessive blanks in prompts originate from here. Eliminate. :) Rewrite `getLastWord' and `skipLastWord' in pointfree style. ] [SshPrompt.hs (showXPrompt): use a single blank "Valery V. Vorotyntsev" **20071022192037 Delete trailing whitespace. Fix documentation typo. ] [ShellPrompt.hs (showXPrompt): use a single blank "Valery V. Vorotyntsev" **20071022191741] [ManPrompt.hs: a manual page prompt (new module) "Valery V. Vorotyntsev" **20071022191443] [Fix pragmas in XMonadContrib Shachaf Ben-Kiki **20071022011738] [introduce new combineTwo layout combinator. David Roundy **20071020191748 This layout combinator is similar in spirit (and in code) to the old combo combinator, but only allows two sublayouts. As a result, we don't need to wrap these in existentials, and reading works seamlessly. Also, we add the feature (which could also be added to combo) of being able to change which sublayout a given window is in through integration with WindowNavigation. I envision combo being deprecated soon. combineTwo isn't quite so flexible, but it's much easier and is better-coded also. ] [allow layout modifiers to modify a Message in transit. David Roundy **20071020191542 This is a helpful feature (for, e.g. WindowNavigation) that allows modifiers (if they so choose... the old API remains supported) to easily send a single Message to the modified layout in response to a Message. ] [XPrompt.hs (keyPressHandle): Ctrl-g and Ctrl-c added to quit keystrokes "Valery V. Vorotyntsev" **20071020170936 Obvious comments removed. ] [XPrompt.hs: trailing whitespace cleaned "Valery V. Vorotyntsev" **20071020170719] [test_XPrompt.hs: there is no ShellPrompt.rmPath "Valery V. Vorotyntsev" **20071019205830] [CycleWS.hs (toggleWS): new function "Valery V. Vorotyntsev" **20071019205323 This is a pointfree adaptation of ViewPrev.viewPrev; after this patch is applied, it may be a good idea to merge ViewPrev.hs into CycleWS.hs. ] [update UrgencyHook example config to reflect changes to WindowNavigation and core Config.hs Brent Yorgey **20071019145526] [add ToggleLayouts module. David Roundy **20071018214525] [default to empty description for layout modifiers. David Roundy **20071018202604 This is because modifierDescription is designed to be human-readable, and show rarely creates a human-readable description. And in many (if not most) cases, an empty description is precisely what we want. ] [beautify description code for empty modifier-description. David Roundy **20071018202438] [change definition of 'description' function for LayoutModifier so an extra space is not added if the modifier description is empty. Brent Yorgey **20071018183054] [-Wall police l.mai@web.de**20071018033000] [DynamicLog.hs: Add dzenColor Eric Mertens **20071018174523] [add function to rename workspaces. David Roundy **20071018145604] [fix WindowNavigation comment l.mai@web.de**20071018054315] [change example to dzenUrgencyHook Devin Mullins **20071018022026] [add dzenUrgencyHook as example (and the one I use) Devin Mullins **20071018021742] [fixed Dzen and gave it a configurable timeout Devin Mullins **20071018012910] [rename LayoutSelect & defaultLayout in comments Devin Mullins **20071016051819] [add import to comments, for clarity Devin Mullins **20071012044555] [documentation for UrgencyHook Devin Mullins **20071012034506] [d'oh, minor UrgencyHook cleanup Devin Mullins **20071012032558] [brand new UrgencyHook contrib, depends on X11-extras WMHints binding Devin Mullins **20071011051641 It's a LayoutModifier which lets you define an urgencyHook function -- the action gets performed wheneveran X client sends an XUrgencyHint message (i.e. tries to "flash" the "taskbar"). This statically points to Config.urgencyHook, which requires that the user add a line to Config.hs-boot, in addition to defining the urgencyHook. Documentation forthcoming. ] [TilePrime.hs: Give a description that distinguishs between horizontal/vertical Eric Mertens **20071018063749] [Truncate title at 80 characters Spencer Janssen **20071018003013] [shorten in sjanssenPP too Spencer Janssen **20071018002821] [Truncate long window titles Spencer Janssen **20071018002511] [DynamicLog.hs: Add ppWsSep field to PP to specify workspace separator. Eric Mertens **20071018001652 This can be useful when you are using colors to distinguish between workspaces and simply provides more functionality. The default behavior remains the same. ] [Wrapping the empty string yields the empty string Spencer Janssen **20071018001542] [DynamicLog: documentation only Spencer Janssen **20071017211427] [Allow the user to change the order of workspaces, layout, title Spencer Janssen **20071017211303] [Don't wrap the layout description by default Spencer Janssen **20071017211011] [DynamicLog: not . null. Duh. Spencer Janssen **20071017210912] [A big dynamicLog refactor Spencer Janssen **20071017210431 We introduce the PP type to allow user customization of dynamicLog. dynamicLogWithTitle has been eliminated because this is the default behavior for dynamicLog now. ] [Don't toLower the layout description. Spencer Janssen **20071017202953 If we'd really like lower case layout descriptions, the 'description' method in the LayoutClass instances should be changed instead. ] [TilePrime.hs: Correct behavior when number of windows <= nmaster Eric Mertens **20071017205153 Additionally this patch does various clean-ups that should not affect functionality. ] [Remove RunInXTerm in favor of Run Spencer Janssen **20071017202201] [Move runXXX functions to one module Christian Thiemann **20071012145233 This patch takes runProcessWithInput out of Dmenu, runProcessWithInputAndWait out of Dzen, and runInXTerm out of RunInXTerm and collects them in one central module called Run. This way, other modules may include Run instead of Dmenu to get what they want without giving the impression of making use of dmenu. ] [Fix LANGUAGE pragmas Shachaf Ben-Kiki **20071017194622] [use full screen for single window in TilePrime l.mai@web.de**20071017191421] [RotSlaves.hs: Add rotAll functions Eric Mertens **20071017173256] [TilePrime.hs: add usage info. Joachim Fasting **20071017192612] [TilePrime.hs: add LANGAUGE pragma. Joachim Fasting **20071017182042] [MetaModule.hs: add WorkspacePrompt. Joachim Fasting **20071017182027] [add TilePrime to MetaModule. David Roundy **20071017133202] [Initial import of TilePrime Eric Mertens **20071017052017 This layout provides a standard tiling layout with support for resize hints and filling the gaps created by them. ] [code cleanup in selectWorkspace. David Roundy **20071016231218] [allow users to go to dynamically-added workspaces with mod-n. David Roundy **20071016230301] [add modules to deal with Workspaces (select, etc) by name using XPrompt. David Roundy **20071016223347] [make windowNavigation simpler to use in simplest case. David Roundy **20071016214337] [compute nice window border for WindowNavigation properly. David Roundy **20071016213316] [fix docs on WindowNavigation. David Roundy **20071016210349] [compute a reasonable navigation color based on focussed color. David Roundy **20071015165504] [WindowNavigation: don't export the config constructor and some haddock fixes Andrea Rossato **20071013090524 I told to David I would have taken care of that: instead of exporting the config constructor we export 2 functions: navigateColor and noNavigateBorders. Updated documentation accordingly. ] [improvements in Combo. David Roundy **20071015132839] [TAG 0.4 Spencer Janssen **20071016212343] Patch bundle hash: 9f33a3765f3378ff124a74493a3ee7070ce51d28