diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-10-05 18:49:36 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-10-05 18:49:36 +0530 |
| commit | 577a30cd5894aa16cf81606767d4d07c3e7b1603 (patch) | |
| tree | a3c50dade9399660ddba1008375f833862cf8839 /lib/Daffm/Types.hs | |
| parent | 845b96c9a7f6d80f2042ef5d334fd6842d617f27 (diff) | |
| download | daffm-577a30cd5894aa16cf81606767d4d07c3e7b1603.tar.gz daffm-577a30cd5894aa16cf81606767d4d07c3e7b1603.zip | |
Add arg parsing, loading config from XDG_CONFIG_HOME and -c arg for loading config file
Diffstat (limited to 'lib/Daffm/Types.hs')
| -rw-r--r-- | lib/Daffm/Types.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Daffm/Types.hs b/lib/Daffm/Types.hs index 39ad5a0..d3dcc70 100644 --- a/lib/Daffm/Types.hs +++ b/lib/Daffm/Types.hs @@ -80,3 +80,6 @@ data Configuration = Configuration configTheme :: !(Map.Map Text.Text Text.Text) } deriving (Show) + +defaultConfiguration :: Configuration +defaultConfiguration = Configuration {configKeymap = Map.empty, configOpener = Nothing, configTheme = Map.empty} |
