config: apply overrides even if there's no file

Previously, foot -a test wouldn't actually set the app ID if there was
no config file and the defaults were used, which was very
counterintuitive.

Now, load_config() will carry on until the end, even if there's no
config file, so overrides still work.
This commit is contained in:
Alyssa Ross 2023-09-22 08:23:38 +00:00 committed by Daniel Eklöf
parent 7fcbca808b
commit 400a3f5ad2
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 21 additions and 22 deletions

View file

@ -80,10 +80,14 @@
opened/activated ([#1474][1474]).
* `XTGETTCAP` with capabilities that are not properly hex encoded will
be ignored, instead of echo:ed back to the TTY in an error response.
* Command line configuration overrides are now applied even if the
configuration file does not exist or can't be
parsed. ([#1495][1495]).
[1391]: https://codeberg.org/dnkl/foot/issues/1391
[1448]: https://codeberg.org/dnkl/foot/pulls/1448
[1474]: https://codeberg.org/dnkl/foot/pulls/1474
[1495]: https://codeberg.org/dnkl/foot/pulls/1495
### Deprecated