Add macos alert script
This commit is contained in:
6
bin/alert
Executable file
6
bin/alert
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
MSG=$@
|
||||
|
||||
echo -e '\a'
|
||||
osascript -e "tell application (path to frontmost application as text) to display dialog \"$MSG\" buttons {\"OK\"} with icon note" &> /dev/null
|
||||
Reference in New Issue
Block a user