about summary refs log tree commit diff
path: root/src/XMonad/Custom/Navigation.hs
blob: db986a2f1f6f5a174300eeb784c5b393c9fb4fc6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
-- |
-- Module      : XMonad.Custom.Navigation
-- Copyright   : (c) 2018-2020 Azat Bahawi <azahi@teknik.io>
-- License     : BSD3-style (see LICENSE)
-- Maintainer  : Azat Bahawi <azahi@teknik.io>
-- Stability   : unstable
-- Portability : unportable
--

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)]
    }

Consider giving Nix/NixOS a try! <3