note documentation

This commit is contained in:
Luke Smith 2018-09-04 14:48:40 -04:00
parent b6872e4979
commit 39a2b97142
2 changed files with 11 additions and 1 deletions

View file

@ -146,6 +146,11 @@ out. User must insert password to unlock.
Some old notes and commands on deleted music shortcuts.
## `note`
Give this script some text/a message as an argument. It will print it to the
terminal, and if `dunst` is running, display a notification.
## `opout`
"Open output", opens the corresponding `.pdf` file if run on a `.md`, `.tex` or

View file

@ -1,2 +1,7 @@
#!/bin/bash
#!/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 "$@"