Fancy alerts

This commit is contained in:
2017-09-25 23:35:55 -07:00
parent d8532ebf86
commit 23a843e64b

View File

@@ -1,6 +1,6 @@
#!/bin/bash
MSG=$@
TITLE=$1
MSG=$2
echo -e '\a'
osascript -e "tell application (path to frontmost application as text) to display dialog \"$MSG\" buttons {\"OK\"} with icon note" &> /dev/null
osascript -e "display notification \"$MSG\" with title \"$TITLE\" sound name \"Ping\"" &> /dev/null