Daniel Eklöf
7e36027237
conf: TERM can now be set in footrc
2019-07-18 14:29:40 +02:00
Daniel Eklöf
50153ef7e2
conf: repair debug build when LOG_ENABLE_DBG=0 in config.c
2019-07-17 10:32:22 +02:00
Daniel Eklöf
de575ac58e
conf: improve configuration file parsing
...
* Strip whitespaces from keys and values
* Detect (and ignore) comments
* Detect syntax errors (no value specified etc)
* Error out on syntax errors and invalid keys
2019-07-17 10:12:14 +02:00
Daniel Eklöf
71d0f6fa56
conf: add support for overriding shell
2019-07-17 09:40:58 +02:00
Daniel Eklöf
19aaa7b774
conf: get user's shell
2019-07-17 09:29:56 +02:00
Daniel Eklöf
0d1b4449b9
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
2019-07-16 11:52:22 +02:00