This PR changes modd to allow for modd-notifier support, which is simply an external custom program or shell script to notify the user. I would like to redirect notifications to noti for push notifications. Below is a sample script in my path, enabled with: modd -n -t modd-notify
modd-notifier (for noti):
#!/bin/sh
title=""
message=""
while getopts ":t:m:" opt; do
case ${opt} in
t )
title=$OPTARG
;;
m )
message=$OPTARG
;;
\? ) echo "Usage: modd-notifier -t "title" -m "message"
;;
esac
done
noti -t "$title" -m "$message"
This PR changes modd to allow for
modd-notifier
support, which is simply an external custom program or shell script to notify the user. I would like to redirect notifications to noti for push notifications. Below is a sample script in my path, enabled with:modd -n -t modd-notify
modd-notifier (for noti):