From 260c9752b487aad4e8242206931be3b192551808 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Sat, 10 Aug 2024 13:36:41 +0400 Subject: nsend: typo fixed --- scripts/nsend | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts') diff --git a/scripts/nsend b/scripts/nsend index 05a1467..81a852f 100755 --- a/scripts/nsend +++ b/scripts/nsend @@ -2,7 +2,7 @@ help() { cat << EOF -${0}: Wrapper script to send notifications +${0}: Wrapper script to send notifications options: -s [Msg] Send Msg @@ -27,18 +27,18 @@ run() { } if ! command -v notify-send > /dev/null 2>&1; then - err "${0}: xwallpaper must be installed" + err "${0}: dunst must be installed" fi case "${1}" in -"-s") +"-s") [ ${#} != 2 ] && err "${0}: Invalid usage" "Try '${0} -h' for help." run "notify-send ${2}" \ "${0}: Failed to send notification" ;; "-h") help; exit 0 ;; - + *) err "${0}: Invalid usage" "Try '${0} -h' for help." ;; esac -- cgit v1.2.3