mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-09 08:21:51 -07:00
X.A.WindowNavigation: Added bind example
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user