diff options
author | Azat Bahawi <azahi@teknik.io> | 2021-11-23 03:19:06 +0300 |
---|---|---|
committer | Azat Bahawi <azahi@teknik.io> | 2021-11-23 03:19:06 +0300 |
commit | 729e030dd25da2e36fa5a1312b8ecb3415dc1675 (patch) | |
tree | 53166b6c3bd96f860d0a7242353ef9cc7bb1790f /src/lib/XMonad/Custom/Navigation.hs | |
parent | Remove tests (diff) |
Huge update
Diffstat (limited to 'src/lib/XMonad/Custom/Navigation.hs')
-rw-r--r-- | src/lib/XMonad/Custom/Navigation.hs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/lib/XMonad/Custom/Navigation.hs b/src/lib/XMonad/Custom/Navigation.hs new file mode 100644 index 0000000..2646db4 --- /dev/null +++ b/src/lib/XMonad/Custom/Navigation.hs @@ -0,0 +1,23 @@ +-- | +-- Module : XMonad.Custom.Navigation +-- Description : Window navigation and layouts +-- Copyright : (c) Azat Bahawi 2018-2021 +-- SPDX-License-Identifier : GPL-3.0-or-later +-- Maintainer : azahi@teknik.io +-- Stability : experimental +-- Portability : non-portable +-- + +module XMonad.Custom.Navigation + ( navigation + ) where + +import XMonad.Actions.Navigation2D + +navigation :: Navigation2DConfig +navigation = def + { defaultTiledNavigation = hybridOf sideNavigation centerNavigation + , floatNavigation = hybridOf lineNavigation centerNavigation + , layoutNavigation = [("Full", centerNavigation)] + , unmappedWindowRect = [("Full", singleWindowRect)] + } |