diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-07-23 14:41:52 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-07-23 14:41:52 +0000 |
| commit | 045ead985c1e320f289704b6a995d48a5eccf59e (patch) | |
| tree | de93e855fac767681e1976ec7a369be30633e4a1 /server.c | |
| parent | notify: if there's a symbolic icon name, use it (diff) | |
notify: don't focus/report on notification dismissal
Only do it when the notification was activated.
Here, activated means the 'click to activate' notification action was
triggered.
How do we tie everything together?
First, we add a new template parameter, ${action}. It's intended to be
used with e.g. notify-send's --action option.
When the action is triggered, notify-send prints its name on stdout,
on a separate line. Look for this in stdout. Only if we've seen it do
we focus/report the notification.
Diffstat (limited to 'server.c')
0 files changed, 0 insertions, 0 deletions
