dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 875adbe27fef9d64d140b117f05655f0e389ad95
parent bc98d8d653058452a6ad66bfb0b56d3d74a5beaa
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Wed,  6 Dec 2017 15:12:52 -0500

Use speech synthesis on Darwin for terminal notifications

Diffstat:
Mlinks/bin/notify-send | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/links/bin/notify-send b/links/bin/notify-send @@ -1,6 +1,7 @@ #!/bin/sh if [[ "$(uname)" == "Darwin" ]]; then echo "$@" | terminal-notifier -sound default + [ "$#" -gt "0" ] && say "$@" else /usr/bin/notify-send $@ fi