#!/bin/sh set -eu if [ -z "$1" ]; then printf "error: missing notification id\n" >&2 exit 1 fi exec gdbus call --session \ --dest org.freedesktop.Notifications \ --object-path /org/freedesktop/Notifications \ --method org.freedesktop.Notifications.CloseNotification \ "$1" >/dev/null