Description
- I have checked that a similar feature request does not already exist.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
As a user, I would like to be able to execute scrcpy without having to specify my configuration flags every time.
Describe the solution you'd like
A clear and concise description of what you want to happen.
There should be a config file where you can specify options for scrcpy. Ideally a plain text file where the long command line options can be assigned in a UNIX config file format like this:
max-fps = 15 # Comment
bit-rate = 2M
(Or another standardised format like TOML, JSON, YAML, INI, Dhall etc.)
The config file should live in the OS' default configuration directory. This means $XDG_CONFIG_HOME
on Freedesktop systems, $XDG_CONFIG_HOME
or ~/Library/Application Support/
on macOS systems and on Windows... %AppData%
I guess?
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
The only alternative would be specifying the wanted options in one or multiple environment variables or asking of every user to write their own wrappers.
Additional context
Add any other context or screenshots about the feature request here.
This is especially important for running scrcpy as a desktop app where command line flags cannot trivially be modified.
Persistent configuration via GUIs depends on this being implemented.