summaryrefslogtreecommitdiffstats
path: root/.scripts/tools/note
blob: a90bff11a4277c90212ad2342bde7cda53501715 (plain) (blame)
1
2
3
4
5
6
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 "$@"