summaryrefslogtreecommitdiffstats
path: root/.scripts/note
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-09-04 14:48:40 -0400
committerLuke Smith <luke@lukesmith.xyz>2018-09-04 14:48:40 -0400
commit39a2b97142235e7be70bd3ef30b819dd18514f0f (patch)
tree922e652aaa9c06f72c4a0e51b1fc53c529445dec /.scripts/note
parentb6872e4979b746f640fdf17ee0cb49e34587a51c (diff)
downloadeibhear-39a2b97142235e7be70bd3ef30b819dd18514f0f.tar.gz
eibhear-39a2b97142235e7be70bd3ef30b819dd18514f0f.tar.zst
eibhear-39a2b97142235e7be70bd3ef30b819dd18514f0f.zip
`note` documentation
Diffstat (limited to '.scripts/note')
-rwxr-xr-x.scripts/note7
1 files changed, 6 insertions, 1 deletions
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 "$@"