Skip to content

Configuration

Hyprlayer stores its configuration in a JSON file.

PlatformPath
Linux~/.config/hyprlayer/config.json
macOS~/Library/Application Support/hyprlayer/config.json
Windows%APPDATA%\hyprlayer\config.json

Override with --config-file <PATH> on any command.

Terminal window
hyprlayer thoughts config
Terminal window
hyprlayer thoughts config --json
Terminal window
hyprlayer thoughts config --edit
{
"thoughts": {
"thoughtsRepo": "~/thoughts",
"reposDir": "repos",
"globalDir": "global",
"user": "alice",
"agentTool": "claude",
"opencodeProvider": "github-copilot",
"opencodeSonnetModel": "github-copilot/claude-sonnet-4.5",
"opencodeOpusModel": "github-copilot/claude-opus-4.5",
"repoMappings": {
"/home/alice/Projects/my-project": "my-project",
"/home/alice/Projects/work-app": {
"repo": "work-app",
"profile": "work"
}
},
"profiles": {
"work": {
"thoughtsRepo": "~/work-thoughts",
"reposDir": "repos",
"globalDir": "global"
}
},
"lastVersionCheck": 1709913600,
"disableUpdateCheck": false
}
}
FieldTypeDescription
thoughtsRepostringPath to the thoughts repository
reposDirstringSubdirectory name for project-specific thoughts
globalDirstringSubdirectory name for cross-project thoughts
userstringYour username (cannot be “global”)
FieldTypeDescription
agentToolstringAI tool: "claude", "copilot", or "opencode"
opencodeProviderstringOpenCode provider: "github-copilot", "anthropic", or "abacus"
opencodeSonnetModelstringSonnet model ID for OpenCode
opencodeOpusModelstringOpus model ID for OpenCode
FieldTypeDescription
repoMappingsobjectMaps local repo paths to thoughts directory names

Each mapping can be a simple string (directory name) or an object with repo and optional profile fields.

FieldTypeDescription
profilesobjectNamed profiles with their own thoughtsRepo, reposDir, and globalDir
FieldTypeDescription
lastVersionChecknumberUnix timestamp of last update check
disableUpdateCheckbooleanSet to true to disable automatic update checks