This code in total is distributed under the terms of the BSD (3 clause)
license.  See specific licensing terms below for derived portions (all BSD 3
clause license):

-- License --------------------------------------------------------------------

Copyright © The Xmonad Community
Copyright © 2014 Timothy Beyer

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

3. Neither the name of the author nor the names of his contributors may be used
   to endorse or promote products derived from this software without specific
   prior written permission.

THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-- XMonad / XMonad contrib code -----------------------------------------------

Some of the code in xmonad.hs and my other extensions is derived in part from
either the xmonad or xmonad-contrib sources (This includes the "DwmStyle2"
layout, which is just a conservative modification of the original layout),
which carries the following copyright (BSD 3 clause):

Copyright (c) The Xmonad Community

The BSD 3 clause license template, as noted above, also applies.

-- XMobar Transparency Code ---------------------------------------------------

The transparency code was adapted from Edward Yang's transparency code for
XMobar, which carries the following copyright (BSD 3 clause):

Copyright (c) Andrea Rossato
All rights reserved.

The BSD 3 clause license template, as noted above, also applies.

-- XTest Scripts --------------------------------------------------------------

For the sake of simplicity, I licensed the scripts under the 3-clause BSD
license as with (most of) the rest of the code.  However, since the scripts are
not derived works, I also offer the option of the the MIT license.  Choose
whichever copyright is more convenient for your usage, as both are quite
similar in spirit.

Copyright © 2017 Timothy Beyer

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

3. Neither the name of the author nor the names of his contributors may be used
   to endorse or promote products derived from this software without specific
   prior written permission.

THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

(or, if you prefer the MIT License...)

Copyright © 2017 by Timothy Beyer

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

-- Other ----------------------------------------------------------------------

- The copyright for Accordion2.hs is BSD 3 clause, and is based on J. Bromley's
patch to the Accordion layout (included in the arch PKGBUILD, under the same
licensing terms).  It contains slight modifications to improve compatibility
with fussy applications (although it still has many issues), and to hide
unfocused windows to the fullest extent possible.  Due to those limitations, I
might rewrite it from scratch at some point, using a technique similar to the
tabbed layout that only shows Window Decorations for unfocused windows.

- The files from the official FreeBSD port (other than the transparency
patches, eg. Makefile, distinfo, pkg-descr,
files/patch-XMonad__Prompt__Directory.hs) are also BSD 3 clause licensed, but
are merely included for convenience.
