From 33788980900e68fd09d5fa1e30d6d91ac9f6c893 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 24 Jul 2017 11:39:02 -0700 Subject: [PATCH] [XMonad] Use centerNavigation --- dotfiles/xmonad/xmonad.hs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dotfiles/xmonad/xmonad.hs b/dotfiles/xmonad/xmonad.hs index 3e424f69..cd0705a1 100644 --- a/dotfiles/xmonad/xmonad.hs +++ b/dotfiles/xmonad/xmonad.hs @@ -89,7 +89,12 @@ myConfig = def where x +++ y = mappend y x -main = xmonad . docks . pagerHints . ewmh $ myConfig +myNavigation2DConfig = def { defaultTiledNavigation = centerNavigation } + +main = + xmonad . + docks . pagerHints . ewmh . withNavigation2DConfig myNavigation2DConfig $ + myConfig -- Utility functions