aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/notifications/README.md
blob: c3b2e9d3425abd5d9b7fabbcc0c8dce81a630f7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# notifications (settings page)

Edits `~/.config/notifyd/config.json`, the one file behind both the daemon
and the balloon shell:

| key | read by |
| --- | --- |
| `timeouts`, `liveCap`, `historyCap` | notifyd, at start and on `notifyctl reload` |
| `balloons`, `dndPassCritical`, `muted` | both shells, through `Notify.config` |

`shared/NotifyConfig.js` resolves the file over its defaults and holds the
mute/DND decision. Check: `node shared/test_notify_config.js`.

Save writes the file with `cat` (unknown keys kept) then runs `notifyctl
reload`. If notifyd is not running the file is still written and the page
says so; the daemon reads it when it starts.

Snooze is not here: the status tile has it.