panorama/docs/src/config.md
2021-03-08 18:32:01 -06:00

767 B

Config

Configuration is done by editing $XDG_CONFIG_HOME/panorama/panorama.toml. This is usually found somewhere like $HOME/.config/panorama/panorama.toml It follows the TOML file format, and the data structures are defined in code at src/config.rs.

Example configuration:

version = "0.1"

[[mail]]
imap.server = "mail.example.com"
imap.port = 143
imap.tls = "starttls"
imap.auth = "plain"
imap.username = "foo"
imap.password = "bar"

As one of the primary goals of panorama, the application should automatically detect changes made to this file after it has started, and automatically re-establish the connections required. As a result, there's no UI for editing the configuration within the application itself.