kmonad-0.4.1: Advanced keyboard remapping utility

Copyright(c) David Janssen 2019
LicenseMIT
Maintainerjanssen.dhj@gmail.com
Stabilityexperimental
Portabilitynon-portable (MPTC with FD, FFI to Linux-only c-code)
Safe HaskellNone
LanguageHaskell2010

KMonad.Args.Joiner

Description

We perform configuration parsing in 2 steps: - 1. We turn the text-file into a token representation - 2. We check the tokens and turn them into an AppCfg

This module covers step 2.

NOTE: This is where we make a distinction between operating systems.

Synopsis

Documentation

joinConfigIO :: HasLogFunc e => [KExpr] -> RIO e CfgToken Source #

Turn a list of KExpr into a CfgToken, throwing errors when encountered.

NOTE: We start joinConfig with the default JCfg, but joinConfig might locally override settings by things it reads from the config itself.

joinConfig :: J CfgToken Source #

Update the JCfg and then run the entire joining process