main: translate command line options to overrides

Instead of special casing configuration affecting command line
options (like --font, --fullscreen, --maximized etc), translate them
to overrides, and let the configuration system handle them.

This also fixes an issue where -f,--font did not set csd.font, if
csd.font were otherwise unset.
This commit is contained in:
Daniel Eklöf 2023-07-31 16:26:17 +02:00
parent 33dcb4d49a
commit 0b4f1b4af2
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 22 additions and 89 deletions

View file

@ -51,6 +51,10 @@
### Deprecated
### Removed
### Fixed
* `-f,--font` command line option not affecting `csd.font` (if unset).
### Security
### Contributors