From 39a2b97142235e7be70bd3ef30b819dd18514f0f Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 4 Sep 2018 14:48:40 -0400 Subject: `note` documentation --- .scripts/note | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.scripts/note') diff --git a/.scripts/note b/.scripts/note index 784e64d..a90bff1 100755 --- a/.scripts/note +++ b/.scripts/note @@ -1,2 +1,7 @@ -#!/bin/bash +#!/bin/sh + +# A super basic command. Give it some arguments to use as anotification. It +# will echo them on the terminal, and if you have `dunst` running, will send a +# `notify-send` message to it. + echo "$@" && pgrep -x dunst >/dev/null && notify-send "$@" -- cgit v1.3.1