diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-07-23 14:48:15 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-07-23 14:48:15 +0000 |
| commit | 79832c16e2db2bef79c03aa5eba7cf863436dd67 (patch) | |
| tree | d0d500bf9ec7be4e22a302c0c08707d22bb93720 /notify.c | |
| parent | notify: don't focus/report on notification dismissal (diff) | |
notify: name the activation action 'default'
This is less unique, but also works better with notification daemons
that trigger the 'default' action when e.g. clicked.
Diffstat (limited to 'notify.c')
| -rw-r--r-- | notify.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -54,7 +54,7 @@ consume_stdout(struct notification *notif, bool eof) } else if (!eof) break; - if (strcmp(line, "activate-foot") == 0) + if (strcmp(line, "default") == 0) notif->activated = true; /* Check for 'xdgtoken=xyz' */ @@ -231,7 +231,7 @@ notify_notify(struct terminal *term, struct notification *notif) (const char *[]){ term->app_id ? term->app_id : term->conf->app_id, term->window_title, icon_name_or_path, title, body, urgency_str, - "activate-foot=Click to activate"}, + "default=Click to activate"}, &argc, &argv)) { return false; |
