zealdocs / zeal

Offline documentation browser inspired by Dash
https://zealdocs.org
GNU General Public License v3.0
11.34k stars 779 forks source link

separate state and config data #1368

Open Konfekt opened 2 years ago

Konfekt commented 2 years ago

How about saving all state data, such as the last window settings, into a file in $XDG_STATE, (and the remaining config data, such as the user settings, as already implemented, into $XDG_CONFIG)?

trollixx commented 2 years ago

Sounds like a good idea. A while ago I was working on a better state management. I hope to revive that once I finally find more time to work on Zeal again.

jzacsh commented 2 years ago

+1 in particularly I'd love if my choices of docsets were saved somewhere that I could back up, eg into my dotfiles. This way if I install on a fresh machine I can open zeal and just let it start downloading all N of my preferred docsets based on said config.