Skip to content

Profiles

Profiles let you use different thoughts repositories for different projects. For example, you might have a work profile pointing to your company’s thoughts repo and a personal profile for side projects.

Terminal window
hyprlayer thoughts profile create work

This prompts for:

  • Thoughts repository path — Where this profile’s thoughts are stored
  • Repos directory name — Subdirectory for project-specific thoughts
  • Global directory name — Subdirectory for cross-project thoughts

Or specify everything non-interactively:

Terminal window
hyprlayer thoughts profile create work \
--repo ~/work-thoughts \
--repos-dir repos \
--global-dir global

When initializing a project, specify the profile:

Terminal window
hyprlayer thoughts init --profile work

The project will be mapped to that profile’s thoughts repository. All subsequent syncs will use the correct repository automatically.

Terminal window
hyprlayer thoughts profile list
Terminal window
hyprlayer thoughts profile list --json
Terminal window
hyprlayer thoughts profile show work
Terminal window
hyprlayer thoughts profile show work --json
Terminal window
hyprlayer thoughts profile delete work

Use --force to delete even if the profile is in use by mapped repositories.

Each project’s repository mapping in the config can optionally reference a profile. When Hyprlayer resolves paths for a project, it checks:

  1. Does this project have a profile mapping?
  2. If yes, use that profile’s thoughtsRepo, reposDir, and globalDir
  3. If no, use the default (top-level) configuration