voidrice/.scripts/tools/note
2018-11-05 17:51:24 -05:00

7 lines
258 B
Bash
Executable file

#!/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 "$@"