aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTeddy Wing2018-10-20 17:40:20 +0200
committerTeddy Wing2018-10-20 17:40:20 +0200
commit4e90fd77eb0ef56a39c2af6fae068fb91782fd0d (patch)
treef17e39491f8d5aed317b79dbce067e29aff1f65d /lib
parent2e79762f80e55c9f0897fafc0f5499060343217f (diff)
downloaddome-key-map-4e90fd77eb0ef56a39c2af6fae068fb91782fd0d.tar.bz2
read_config_file(): Return a default config if no file found
The only config option we have is `timeout`, which has a default value. Any future config options, it seems, should have default values also. We shouldn't force users to create a config file, as the prior code would do. They should be able to rely on the default, and create a `config.toml` only if they want to change it. If no config file is found, we should create a default `Config`. Rename the method because now it still works without reading the config file.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions