sourcegit icon indicating copy to clipboard operation
sourcegit copied to clipboard

[Feature] Separate settings from state (`preference.json`)

Open andgeno opened this issue 6 months ago • 0 comments

The file in ~/.config/SourceGit/preference.json appears to contain user settings but also state info like this:

  • LauncherPositionX
  • LauncherPositionY
  • WorkingCopyLeftWidth
  • IsActive (which seems to flag the currently selected workspace)
  • etc.

It would be great if state information could be stored in a separate file, e.g. state.json.

This would allow users to version their SourceGit settings without seeing constant changes that are not essential.

andgeno avatar Jul 12 '25 22:07 andgeno