summary refs log tree commit diff
path: root/bin/clear-notification
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2026-02-10 12:32:48 +0100
committerRobert Günzler <r@gnzler.io>2026-02-10 12:41:25 +0100
commit63feeb9f369fc6176e85c1c2d8fcc863caad1946 (patch)
tree41cd5d2d1ec36e74e464caab722cc9b460153f04 /bin/clear-notification
parent5bd0a4aca65ecb9818ef1285982d160b6b6ff665 (diff)
start new
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bin/clear-notification')
-rwxr-xr-xbin/clear-notification11
1 files changed, 0 insertions, 11 deletions
diff --git a/bin/clear-notification b/bin/clear-notification
deleted file mode 100755
index e58ddb2..0000000
--- a/bin/clear-notification
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/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