voidrice/.scripts/note
2018-09-04 14:48:40 -04: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 "$@"