summaryrefslogtreecommitdiffstats
path: root/.scripts/tools/note
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/tools/note')
-rwxr-xr-x.scripts/tools/note7
1 files changed, 7 insertions, 0 deletions
diff --git a/.scripts/tools/note b/.scripts/tools/note
new file mode 100755
index 0000000..a90bff1
--- /dev/null
+++ b/.scripts/tools/note
@@ -0,0 +1,7 @@
+#!/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 "$@"