diff --git a/test-notifications b/test-notifications index 5e52fad..d223aa5 100755 --- a/test-notifications +++ b/test-notifications @@ -1,5 +1,5 @@ #!/bin/sh -which notify-send > /dev/null 2>&1 || exit 1 +command -v notify-send > /dev/null 2>&1 || exit 1 notify-send -u low "Low Urgency Notification" "This is a simple test notification with low urgency. It's okay to ignore me, I guess." notify-send -u normal "Normal Urgency Notification" "This is another simple test notification with normal urgency. My information will help you work." notify-send -u critical "High Urgency Notification" "This notification really should grab your attention! It's important!"