mirror of
https://github.com/xmonad/xmonad.git
synced 2025-05-18 16:10:22 -07:00
TUTORIAL: Mention X.U.Ungrab being unnecessary with 0.18.0
Closes: https://github.com/xmonad/xmonad/issues/496
This commit is contained in:
parent
88b4ad3c13
commit
459f6afeca
19
TUTORIAL.md
19
TUTORIAL.md
@ -38,13 +38,13 @@ package manager, you will need to `xmonad --recompile` _every time_ a
|
||||
Haskell dependency is updated—else xmonad may fail to start when you
|
||||
want to log in!
|
||||
|
||||
We're going to assume xmonad version `0.17.0` and xmonad-contrib version
|
||||
`0.17.0` here, though most of these steps should work with older
|
||||
versions as well. When we get to the relevant parts, will point you to
|
||||
alternatives that work with at least xmonad version `0.15` and
|
||||
xmonad-contrib version `0.16`. This will usually be accompanied by a
|
||||
big "_IF YOU ARE ON A VERSION `< 0.17.0`_", so don't worry about missing
|
||||
it!
|
||||
We're going to assume xmonad version `>= 0.17.0` and xmonad-contrib
|
||||
version `>= 0.17.0` here, though most of these steps should work with
|
||||
older versions as well. When we get to the relevant parts, will point
|
||||
you to alternatives that work with at least xmonad version `0.15` and
|
||||
xmonad-contrib version `0.16`. This will usually be accompanied by big
|
||||
warning labels for the respective version bounds, so don't worry about
|
||||
missing it!
|
||||
|
||||
Throughout the tutorial we will use, for keybindings, a syntax very akin
|
||||
to the [GNU Emacs conventions] for the same thing—so `C-x` means "hold
|
||||
@ -113,6 +113,8 @@ utility modules we will use. At the very top of the file, write
|
||||
import XMonad
|
||||
|
||||
import XMonad.Util.EZConfig
|
||||
-- NOTE: Only needed for versions < 0.18.0! For 0.18.0 and up, this is
|
||||
-- already included in the XMonad import and will give you a warning!
|
||||
import XMonad.Util.Ungrab
|
||||
```
|
||||
|
||||
@ -1066,6 +1068,9 @@ import XMonad.Hooks.StatusBar.PP
|
||||
|
||||
import XMonad.Util.EZConfig
|
||||
import XMonad.Util.Loggers
|
||||
-- NOTE: Importing XMonad.Util.Ungrab is only necessary for versions
|
||||
-- < 0.18.0! For 0.18.0 and up, this is already included in the
|
||||
-- XMonad import and will generate a warning instead!
|
||||
import XMonad.Util.Ungrab
|
||||
|
||||
import XMonad.Layout.Magnifier
|
||||
|
Loading…
x
Reference in New Issue
Block a user