12 lines
335 B
Bash
Executable File
12 lines
335 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Dismiss a notification by summary substring. Used by the first-run notifications to dismiss them after clicking for action.
|
|
# omarchy:args=<summary>
|
|
|
|
if (($# == 0)); then
|
|
echo "Usage: omarchy-notification-dismiss <summary>"
|
|
exit 1
|
|
fi
|
|
|
|
omarchy-shell notifications dismiss "$1" >/dev/null 2>&1 || true
|