Copyright | (c) Konstantin Sobolev <konstantin.sobolev@gmail.com> |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Konstantin Sobolev <konstantin.sobolev@gmail.com> |
Stability | unstable |
Portability | unportable |
Safe Haskell | None |
Language | Haskell98 |
A hook that remembers per-window keyboard layouts and switches them on focus changes.
- perWindowKbdLayout :: Event -> X All
Usage
You can use this module with the following in your ~/.xmonad/xmonad.hs
:
import XMonad.Hooks.PerWindowKbdLayout
Then edit your eventHook
by adding perWindowKbdLayout
, for example
main = xmonad defaultConfig { handleEventHook = perWindowKbdLayout }