about summary refs log tree commit diff
path: root/src/lib/XMonad/Custom/Navigation.hs
blob: 2646db4a68e9cecaecdcb575c8550e692b6240d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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)]
  }

Consider giving Nix/NixOS a try! <3