Skip to content

Profiles

Manage multiple thoughts repositories

Profiles point different projects at different thoughts repositories. Keep a work profile on your company’s thoughts repo and a personal one for side projects.

Terminal window
hyprlayer thoughts profile create work

This prompts for:

  • Thoughts repository path. Where this profile keeps its thoughts
  • 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

Specify the profile when you initialize a project:

Terminal window
hyprlayer thoughts init --profile work

Hyprlayer maps the project to that profile’s thoughts repository, and every later sync targets it.

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 reference a profile. Resolving paths for a project, Hyprlayer 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