voidrice/.scripts/tools/note

8 lines
258 B
Text
Raw Normal View History

2018-09-04 14:48:40 -04:00
#!/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.
2018-07-31 13:58:38 -04:00
echo "$@" && pgrep -x dunst >/dev/null && notify-send "$@"