1
0
mirror of https://github.com/xmonad/xmonad.git synced 2025-07-26 17:51:51 -07:00

TUTORIAL: Fixes to ease inclusion into xmonad-web

Also makes it easier to copy & paste.
This commit is contained in:
Tomas Janousek
2021-08-02 15:07:07 +01:00
parent 206fc918bb
commit ad7288030f

@@ -1,12 +1,3 @@
NOTE: `xmonad 0.16` and `xmonad-contrib 0.17` are obviously not released
yet. But don't worry, if you're reading this then you're already a beta
tester :) Since this guide is supposed to work on older versions of
xmonad as well this is no problem however; please report any
incompatibilities you notice and state the version of xmonad and
xmonad-contrib that you tried to use. If you use the git versions of
xmonad and xmonad-contrib, you should be able to follow everything just
fine.
# XMonad Configuration Tutorial # XMonad Configuration Tutorial
We're going to take you, step-by-step, through the process of We're going to take you, step-by-step, through the process of
@@ -29,6 +20,15 @@ the ability to magnify stack windows via [XMonad.Layout.Magnifier]:
So let's get started! So let's get started!
NOTE: `xmonad 0.17` and `xmonad-contrib 0.17` are obviously not released
yet. But don't worry, if you're reading this then you're already a beta
tester :) Since this guide is supposed to work on older versions of
xmonad as well this is no problem however; please report any
incompatibilities you notice and state the version of xmonad and
xmonad-contrib that you tried to use. If you use the git versions of
xmonad and xmonad-contrib, you should be able to follow everything just
fine.
## Preliminaries ## Preliminaries
First you'll want to install xmonad. You can either do this with your First you'll want to install xmonad. You can either do this with your
@@ -47,7 +47,7 @@ package manager, you will need to `xmonad --recompile` _every time_ a
Haskell dependency is updated—else xmonad may fail to start when you Haskell dependency is updated—else xmonad may fail to start when you
want to log in! want to log in!
We're going to assume xmonad version `0.16` and xmonad-contrib version We're going to assume xmonad version `0.17` and xmonad-contrib version
`0.17` here, though most of these steps should work with older versions `0.17` here, though most of these steps should work with older versions
as well. When we get to the relevant parts, will point you to as well. When we get to the relevant parts, will point you to
alternatives that work with at least xmonad version `0.15` and alternatives that work with at least xmonad version `0.15` and
@@ -70,8 +70,8 @@ commands for your system.
To install xmonad, as well as some utilities, via `apt` you can just run To install xmonad, as well as some utilities, via `apt` you can just run
``` shell ``` console
apt-get install xmonad libghc-xmonad-contrib-dev libghc-xmonad-dev suckless-tools $ apt-get install xmonad libghc-xmonad-contrib-dev libghc-xmonad-dev suckless-tools
``` ```
This installs xmonad itself, everything you need to configure it, and This installs xmonad itself, everything you need to configure it, and
@@ -1246,7 +1246,7 @@ either :)
[Hacks]: https://hackage.haskell.org/package/xmonad-contrib/docs/XMonad-Util-Hacks.html [Hacks]: https://hackage.haskell.org/package/xmonad-contrib/docs/XMonad-Util-Hacks.html
[PP record]: https://hackage.haskell.org/package/xmonad-contrib/docs/XMonad-Hooks-DynamicLog.html#t:PP [PP record]: https://hackage.haskell.org/package/xmonad-contrib/docs/XMonad-Hooks-DynamicLog.html#t:PP
[INSTALL.md]: https://github.com/xmonad/xmonad/blob/master/INSTALL.md#stack [INSTALL.md]: INSTALL.md
[XMonad.Config]: https://github.com/xmonad/xmonad/blob/master/src/XMonad/Config.hs [XMonad.Config]: https://github.com/xmonad/xmonad/blob/master/src/XMonad/Config.hs
[XMonad.ManageHook]: https://hackage.haskell.org/package/xmonad/docs/XMonad-ManageHook.html [XMonad.ManageHook]: https://hackage.haskell.org/package/xmonad/docs/XMonad-ManageHook.html
[XMonad.Util.Loggers]: https://hackage.haskell.org/package/xmonad-contrib/docs/XMonad-Util-Loggers.html [XMonad.Util.Loggers]: https://hackage.haskell.org/package/xmonad-contrib/docs/XMonad-Util-Loggers.html