diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-16 09:52:22 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-16 09:52:22 +0000 |
| commit | 0d1b4449b9268ad008852d38d3f7df544db7a410 (patch) | |
| tree | 5cc470aa900c2f09812f331412940135025631d5 /config.h | |
| parent | main: default font is 'monospace' (diff) | |
conf: initial support for configuration file
* Look for configuration file in (in this order):
- XDG_CONFIG_HOME/footrc
- ~/.config/footrc
* Currently supports setting the font
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config.h b/config.h new file mode 100644 index 00000000..4215a80a --- /dev/null +++ b/config.h @@ -0,0 +1,8 @@ +#pragma once + +struct config { + char *font; +}; + +struct config config_load(void); +void config_free(struct config conf); |
