voidrice/.scripts/note

8 lines
258 B
Text
Raw Normal View History

2018-09-04 18:48:40 +00: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 17:58:38 +00:00
echo "$@" && pgrep -x dunst >/dev/null && notify-send "$@"