Chapter 10 Configuration Files

wxarc Last Updated: 2026-10-24 10:51 Views: 35

Chapter 10 Configuration Files

All WxArc user data lives in a single directory — no registry entries, no scattered files.

10.1 Directory layout

~/.wxarc/
├── settings.json      # all settings (theme/language/integration/background)
├── keymap.json        # user keymap (present when customized)
├── themes/            # custom themes (present when customized)
└── logs/              # daily rolling logs
    └── app_YYYY-MM-DD.log

On Windows it is %APPDATA%\wxarc\; on macOS ~/Library/Application Support/wxarc/.

10.2 settings.json

JSON format; the main configuration keys:

Key Description
options.language Interface language code
options.themeSwitchMode Theme switch mode (followSystem / byTime / disabled)
options.uiDarkTheme / options.uiLightTheme Dark/light targets for automatic switching
options.darkThemeStartTime / options.lightThemeStartTime Schedule boundaries
options.themeFontFamily / options.themeFontSize Theme font and size
options.backgroundImageMode / backgroundImagePath / backgroundImageOpacity Background image (mode/path/opacity)

The settings dialog rewrites this file on save; manual edits take effect after a restart. A corrupted file falls back to defaults.

10.3 Logs

Logs roll daily; release builds log Error level only. Start with wxarc --debug (or --log-level trace) when troubleshooting. When reporting an issue, attaching the day’s log from ~/.wxarc/logs/ helps the most.

10.4 Reset

Quit WxArc and delete the ~/.wxarc/ directory to return to factory state (your archives are not affected).

← Previous Article Chapter 11 Troubleshooting Next Article → Chapter 9 Shortcuts and Command Line

Comments

No comments yet