diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-10-05 00:43:39 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-10-05 00:45:40 +0530 |
| commit | 4582ce60603c57c6b75b73d590d93f443acda96a (patch) | |
| tree | 2d6c0dde60443fdd87356a3233a9d2cd92046ef3 /lib/Daffm/Types.hs | |
| parent | a302dfc2aabda53446fb38e035e61ae91b28f84a (diff) | |
| download | daffm-4582ce60603c57c6b75b73d590d93f443acda96a.tar.gz daffm-4582ce60603c57c6b75b73d590d93f443acda96a.zip | |
Add configuration (keymap) loading from toml file
Diffstat (limited to 'lib/Daffm/Types.hs')
| -rw-r--r-- | lib/Daffm/Types.hs | 6 |
1 files changed, 6 insertions, 0 deletions
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) |
