Changelog for xmonad-0.13
Change Log / Release Notes
0.13 (February 10, 2017)
Breaking Changes
-
When restarting xmonad, resume state is no longer passed to the next process via the command line. Instead, a temporary state file is created and xmonad's state is serialized to that file.
When upgrading to 0.13 from a previous version, the
--resumecommand line option will automatically migrate to a state file.This fixes issue #12.
Enhancements
-
You can now control which directory xmonad uses for finding your configuration file and which one is used for storing the compiled version of your configuration. In order of preference:
-
New environment variables. If you want to use these ensure you set the correct environment variable and also create the directory it references:
XMONAD_CONFIG_DIRXMONAD_CACHE_DIRXMONAD_DATA_DIR
-
The
~/.xmonaddirectory. -
XDG Base Directory Specification directories, if they exist:
XDG_CONFIG_HOME/xmonadXDG_CACHE_HOME/xmonadXDG_DATA_HOME/xmonad
If none of these directories exist then one will be created using the following logic: If the relevant environment variable mentioned in step (1) above is set, the referent directory will be created and used. Otherwise
~/.xmonadwill be created and used.This fixes a few issues, notably #7 and #56.
-
-
A custom build script can be used when xmonad is given the
--recompilecommand line option. If an executable namedbuildexists in the xmonad configuration directory it will be called instead ofghc. It takes one argument, the name of the executable binary it must produce.This fixes #8. (One of two possible custom build solutions. See the next entry for another solution.)
-
For users who build their xmonad configuration using tools such as cabal or stack, there is another option for executing xmonad.
Instead of running the
xmonadexecutable directly, arrange to have your login manager run your configuration binary instead. Then, in your binary, use the newlaunchcommand instead ofxmonad.This will keep xmonad from using its configuration file checking/compiling code and directly start the window manager without
execing any other binary.See the documentation for the
launchfunction inXMonad.Mainfor more details.Fixes #8. (Second way to have a custom build environment for XMonad. See previous entry for another solution.)
0.12 (December 14, 2015)
-
Compiles with GHC 7.10.2, 7.8.4, and 7.6.3
-
Use of data-default allows using
defwhere previously you had to writedefaultConfig,defaultXPConfig, etc. -
The setlocale package is now used instead of a binding shipped with xmonad proper allowing the use of
Main.hsinstead ofMain.hsc -
No longer encodes paths for
spawnPID -
The default
manageHookno longer floats Gimp windows -
Doesn't crash when there are fewer workspaces than screens
-
Queryis now an instance ofApplicative -
Various improvements to the example configuration file