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 3b7c6b45adeed5900e182f2daa02c816e1aea6ef
parent f204bcc75473b10031e997c9d6becf151e45b746
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Mon, 20 Nov 2017 10:13:17 -0500

add script to alias notify-send on mac

Diffstat:
Alinks/bin/notify-send | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

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