diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-08-04 12:16:56 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-08-04 12:20:35 +0000 |
| commit | 63492624918cd23a5efdd9b8a8b4f057da66d961 (patch) | |
| tree | 1e426fa797ec03ce3a00cb3c97f47cdf09b1de85 /notify.h | |
| parent | term: reload_fonts(): don't ignore return value of thrd_join() (diff) | |
osc: kitty notifications: implement s=silent
This implements part of the new 's' (sound) parameter; the 'silent'
value. When s=silent, we set the ${muted} template argument to
"true". It is intended to set the 'suppress-sound' hint:
notify-send --hint BOOLEAN:suppress-sound:${muted}
Diffstat (limited to 'notify.h')
| -rw-r--r-- | notify.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -52,6 +52,8 @@ struct notification { bool report_activated; /* OSC-99: report notification activation to client */ bool report_closed; /* OSC-99: report notification closed to client */ + bool muted; /* Explicitly mute the notification */ + /* * Used internally by notify */ |
