The default options can be permanently set with a configuration file found in a standard folder for configuration, depending on your operating system:
$XDG_CONFIG_HOME/oasis/default.json
.
Usually this is /home/<your username>/.config/oasis/default.json
%APPDATA%\oasis\default.json
./Users/<your username>/Library/Preferences/oasis/default.json
The configuration file can override any or all of the command-line defaults. Here is an example customizing the port number and the "open" settings:
{
"open": false,
"port": 19192
}
If you run oasis --help
you'll see all of the parameters.
Which value is given is decided like this:
The stylesheet values may be overridden by adding custom values to a file found in a standard folder for configuration, depending on your operating system:
$XDG_CONFIG_HOME/oasis/custom-style.css
.
Usually this is /home/<your username>/.config/oasis/custom-style.css
%APPDATA%\oasis\custom-style.css
./Users/<your username>/Library/Preferences/oasis/custom-style.css
As an example the width used for the main body may be changed to a different fixed width or a dynamic width:
:root {
--measure: 75%;
}