Skip to content
Edith

Docs

Command reference

ed attention categories set

Assigns one summary entity to a category. Rules are applied at query time, so the change reclassifies existing history without rewriting events.

Output
ed attention categories set <entity> <category> [--name <display-name>]  [--productivity <level>] [--sphere <work|personal|both>] [--json]

Use an entity ID from ed attention summary --json. Accepted forms are name:<identity name>, app:<bundle-id>, and web:<domain> and rule:<id>. A rule: entity updates the matching scoped rule. A name: entity updates every rule with that name, or copies the built-in rule of that name into your rules.

--productivity and --sphere override the category's defaults for this entity only. For example, ed attention categories set name:x social --productivity productive --sphere personal keeps X as Social while counting it as productive, personal time. The category can be its ID or exact display name. --name sets the unified friendly name.

Where to go next