From 577a30cd5894aa16cf81606767d4d07c3e7b1603 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 5 Oct 2025 18:49:36 +0530 Subject: Add arg parsing, loading config from XDG_CONFIG_HOME and -c arg for loading config file --- lib/Daffm/Types.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/Daffm/Types.hs') 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} -- cgit v1.3.1