Fancy alerts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user