Command reference
ed attention breaks on
Turns on screen break nudges and optionally changes their timing. Turning them on from off starts a new cycle and asks macOS for notification permission when it has not been answered yet.
ed attention breaks on [--every <duration>] [--length <duration>] [--snooze <duration>] [--snooze-limit <count>] [--reset-after <duration>] [--json]Durations accept seconds, minutes or hours such as 20s, 5m or 1h.
| Option | Default | Range |
|---|---|---|
--every |
45m of active screen time |
5m to 4h |
--length |
5m |
20s to 1h |
--snooze |
5m |
1m to 1h |
--snooze-limit |
2 per break |
0 to 10 |
--reset-after |
5m of idle or away time |
1m to 1h |
Values outside a range exit with status 2 and leave the settings unchanged.
Output matches status. enable is an alias.