Files
sxmo-utils/scripts/core/sxmo_notify_user.sh
2022-11-15 13:41:55 +01:00

21 lines
288 B
Bash
Executable File

#!/bin/sh
# SPDX-License-Identifier: AGPL-3.0-only
# Copyright 2022 Sxmo Contributors
# shellcheck source=scripts/core/sxmo_common.sh
. sxmo_common.sh
notify-send "$@"
while [ "$#" -gt 0 ]; do
case "$1" in
--urgency=*)
shift
;;
*)
sxmo_log "$1"
shift
;;
esac
done