diff --git a/scripts/irssi_get_local_notification.sh b/scripts/irssi_get_local_notification.sh new file mode 100755 index 0000000..d41f2fa --- /dev/null +++ b/scripts/irssi_get_local_notification.sh @@ -0,0 +1,6 @@ +tail -f ~/.irssi/fnotify | sed -u 's/[&]//g' | while read heading message; +do /usr/bin/notify-send -i notification-message-im -- "${heading}" "${message}"; +# if [[ -n `ssh mathieu@hectorone.homedns.org screen -list | grep '(Attached)'` ]]; then +# echo "${message}" | sed -ur 's/^.*>//' | /usr/bin/festival --tts; +# fi +done