| Portability | unportable |
|---|---|
| Stability | unstable |
| Maintainer | Konstantin Sobolev <konstantin.sobolev@gmail.com> |
XMonad.Hooks.PerWindowKbdLayout
Contents
Description
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 }
perWindowKbdLayout :: Event -> X AllSource