Documenting how to integrate stc with the Syncthing debian package
You may want to add to README.md that if Syncthing has been installed from a debian package (see https://apt.syncthing.net/) then a symlink is needed to make stc happy:
$ file ~/.config/syncthing
/home/username/.config/syncthing: symbolic link to /home/username/.local/state/syncthing
Thank you for reporting. I think that instead of adding this to the readme, this could be solved in the code by looking at additional location?
@tenox7 Sure, this would be even better.
It's not a Debian thing .local/state is the new default.
Syncthing: Changed in version 1.27.0: The default location of the configuration and database directory on Unix-like systems was changed to $XDG_STATE_HOME/syncthing or $HOME/.local/state/syncthing. Previously the default config location was $XDG_CONFIG_HOME/syncthing or $HOME/.config/syncthing.
I see no harm in adding all of them.
It would be nice if someone could send a PR. Otherwise will be a few weeks on my end.