mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
X.A.WindowNavigation: Added bind example
This commit is contained in:
parent
6ca1e334eb
commit
76bab07eb9
@ -63,6 +63,11 @@ import qualified Data.Set as S
|
|||||||
-- > $ def { ... }
|
-- > $ def { ... }
|
||||||
-- > xmonad config
|
-- > xmonad config
|
||||||
--
|
--
|
||||||
|
-- Or, for the brave souls:
|
||||||
|
--
|
||||||
|
-- > main = xmonad =<< withWindowNavigation (xK_w, xK_a, xK_s, xK_d)
|
||||||
|
-- > $ def { ... }
|
||||||
|
--
|
||||||
-- Here, we pass in the keys for navigation in counter-clockwise order from up.
|
-- Here, we pass in the keys for navigation in counter-clockwise order from up.
|
||||||
-- It creates keybindings for @modMask@ to move to window, and @modMask .|. shiftMask@
|
-- It creates keybindings for @modMask@ to move to window, and @modMask .|. shiftMask@
|
||||||
-- to swap windows.
|
-- to swap windows.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user