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
parent 54722369d8
commit 54a6223d72
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0
2 changed files with 21 additions and 22 deletions

View file

@ -76,10 +76,14 @@
`BTN_LEFT+3` by default) ([#1364][1364]).
* `file://` prefix from URI's are no longer stripped when
opened/activated ([#1474][1474]).
- 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