From 77c254531a34a2cb833ed38d2e9592ac005a0893 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 22 Nov 2018 02:45:30 -0600 Subject: [PATCH] test-notifications: Use command -v instead of which --- test-notifications | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!"