[script]local notification for irssi
This commit is contained in:
parent
043115a98e
commit
177c92976a
6
scripts/irssi_get_local_notification.sh
Executable file
6
scripts/irssi_get_local_notification.sh
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user