Xmonad/Notable changes since 0.7

From HaskellWiki
< Xmonad
Revision as of 01:18, 2 April 2008 by Gwern (talk | contribs) (→‎Changes in xmonad-contrib: summarize my windowgo and search changes)
Jump to navigation Jump to search

This page is for keeping a record of significant changes in darcs xmonad and xmonad-contrib since the 0.7 release.

The idea is to put here a list of things which a user upgrading from 0.7 to 0.8 might like to know, so that they are sure to be included in the 0.8 release notes.

Changes to the xmonad core

  • defaultGaps has been removed, see XMonad.Hooks.ManageDocks.avoidStruts, which is now the preferred method for setting gaps. ManageDocks will soon be moved into the core. Those that still want or need manual gap-setting ability (if you're not sure, you probably don't) can use the new contrib module XMonad.Layout.Gaps.

Changes in xmonad-contrib

  • New contrib modules:
    • XMonad.Layout.MultiToggle.Instances defines some common Transformer instances for convenience in working with XMonad.Layout.MultiToggle
    • XMonad.Layout.Gaps allows manual configuration of gaps, along with keybindings for toggling and adjusting their size. Useful in situations where gaps are desired but ManageDocks is not appropriate.
    • XMonad.Actions.CycleRecentWS
  • Changes to contrib APIs
    • ManageDocks now allows individual toggling of multiple gaps.
    • PerWorkspace has additional functions which allow applying layout modifiers per-workspace (rather than simply selecting layouts per-workspace).
    • Search's "promptSearch" and "selectSearch" functions have shorter invocations now; the browser argument is unneeded as XMonad will instead default to whatever $BROWSER is, or to using Firefox.
    • WindowGo now has two convenience functions for going to your text editor (based on $EDITOR) and your browser ($BROWSER).