Where the files live
Every setting, binding and theme is a human-editable file that hot-reloads when you save it by hand, and the preferences window writes those same files.
| What | Installed | Dev run (npm start) |
|---|---|---|
| Settings | %USERPROFILE%\.throng\settings.json |
%USERPROFILE%\.throng-dev\settings.json |
| Key bindings | %USERPROFILE%\.throng\keybindings.json |
%USERPROFILE%\.throng-dev\keybindings.json |
| Themes | %USERPROFILE%\.throng\themes\<name>.json |
%USERPROFILE%\.throng-dev\themes\<name>.json |
| Icon sets | %USERPROFILE%\.throng\icon-packs\<set>\ |
%USERPROFILE%\.throng-dev\icon-packs\<set>\ |
| Applied-defaults marker | %USERPROFILE%\.throng\defaults-state.json |
%USERPROFILE%\.throng-dev\defaults-state.json |
| Font cache, shipped default-theme source | %APPDATA%\throng\ |
%APPDATA%\throng-dev\ |
That table is Windows. On Linux and macOS the same files sit in these folders, with throng-dev in place of
throng for a dev run:
| What | Linux | macOS |
|---|---|---|
| Settings, key bindings, themes, icon sets, applied-defaults marker | ~/.config/throng/ (or $XDG_CONFIG_HOME/throng/) |
~/Library/Application Support/throng/settings/ |
| Database, font cache, shipped default-theme source | ~/.local/share/throng/ (or $XDG_DATA_HOME/throng/) |
~/Library/Application Support/throng/ |
| Logs | ~/.local/share/throng/logs/ |
~/Library/Logs/throng/ |
The config folder can be moved with THRONG_CONFIG_ROOT.
Shipped defaults. throng carries an immutable, versioned record of its default settings, key
bindings and built-in themes, generated from its own definitions. Every reset reads from it. A first
run seeds the config folder from it without overwriting any file already there, and
defaults-state.json records which version of the defaults has been applied.