mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-28 07:58:00 -04:00
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
This commit is contained in:
parent
22115e1cf4
commit
0d1b4449b9
4 changed files with 200 additions and 7 deletions
8
config.h
Normal file
8
config.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
struct config {
|
||||
char *font;
|
||||
};
|
||||
|
||||
struct config config_load(void);
|
||||
void config_free(struct config conf);
|
||||
Loading…
Add table
Add a link
Reference in a new issue