jstaf / onedriver

A native Linux filesystem for Microsoft OneDrive
GNU General Public License v3.0
1.99k stars 96 forks source link

Support configuring Onedriver #212

Closed jstaf closed 2 years ago

jstaf commented 2 years ago

Although I was trying to have a one-size-fits-all approach where no one would even need to configure anything, there are some legitimate settings we need to support, including:

I think the best way to support this would be to configure things via YML (no one hates it, it's very easy to understand, and widely used), and have the GUI configure things via the same YML file. I looked into libyaml and it looks like a nightmare to parse things in C, so honestly this seems like a good opportunity to just take the plunge and rewrite the GUI in Go (then the two packages can share code better).

jstaf commented 2 years ago

Onedriver can now be configured via ~/.config/onedriver/config.yml. I still need to create GUI for configuration.