제10장 설정 파일

Last Updated: 2026-10-24 02:51 Views: 6

제10장 설정 파일

모든 WxArc 사용자 데이터는 하나의 디렉터리에 들어 있습니다 — 레지스트리 항목도, 흩어진 파일도 없습니다.

10.1 디렉터리 구성

~/.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

Windows에서는 %APPDATA%\wxarc\, macOS에서는 ~/Library/Application Support/wxarc/입니다.

10.2 settings.json

JSON 형식이며, 주요 설정 키는 다음과 같습니다:

키 설명
options.language 인터페이스 언어 코드
options.themeSwitchMode 테마 전환 방식 (followSystem / byTime / disabled)
options.uiDarkTheme / options.uiLightTheme 자동 전환용 어두운/밝은 대상
options.darkThemeStartTime / options.lightThemeStartTime 일정 경계
options.themeFontFamily / options.themeFontSize 테마 글꼴과 크기
options.backgroundImageMode / backgroundImagePath / backgroundImageOpacity 배경 이미지(모드/경로/불투명도)

설정 대화 상자는 저장 시 이 파일을 다시 씁니다. 수동 편집은 다시 시작한 뒤에 적용됩니다. 손상된 파일은 기본값으로 되돌아갑니다.

10.3 로그

로그는 매일 롤링되며, 릴리스 빌드는 Error 수준만 기록합니다. 문제 해결 시 wxarc --debug(또는 --log-level trace)로 시작하세요. 문제를 보고할 때는 ~/.wxarc/logs/의 당일 로그를 첨부하는 것이 가장 큰 도움이 됩니다.

10.4 재설정

WxArc를 종료하고 ~/.wxarc/ 디렉터리를 삭제하면 초기 상태로 돌아갑니다(아카이브 자체에는 영향이 없습니다).

← Previous Article 제9장 단축키와 명령줄 Next Article → 제11장 문제 해결

Comments

No comments yet