From 4582ce60603c57c6b75b73d590d93f443acda96a Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 5 Oct 2025 00:43:39 +0530 Subject: Add configuration (keymap) loading from toml file --- lib/Daffm/Types.hs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/Daffm/Types.hs') diff --git a/lib/Daffm/Types.hs b/lib/Daffm/Types.hs index 953e3a8..7264673 100644 --- a/lib/Daffm/Types.hs +++ b/lib/Daffm/Types.hs @@ -73,3 +73,9 @@ type Key = V.Key type Keymap = Map.Map [Key] Command type KeySequence = [Key] + +data Configuration = Configuration + { configKeymap :: !Keymap, + configTheme :: !(Map.Map Text.Text Text.Text) + } + deriving (Show) -- cgit v1.3.1