aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-07-23 14:41:52 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-07-23 14:41:52 +0000
commit045ead985c1e320f289704b6a995d48a5eccf59e (patch)
treede93e855fac767681e1976ec7a369be30633e4a1 /scripts
parentnotify: 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 'scripts')
0 files changed, 0 insertions, 0 deletions