diff options
author | Florian Pritz <bluewind@xinu.at> | 2014-04-13 21:40:12 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2014-04-13 21:40:12 +0200 |
commit | c11ef74879171dc631ceb227e53d6403719b5c38 (patch) | |
tree | 891be7d325c05b4dc12d407481f87140f3af74c5 /irssi_notify.sh | |
parent | b7de185610d36aa373dadfb35ed131e648f6fde2 (diff) | |
download | bin-c11ef74879171dc631ceb227e53d6403719b5c38.tar.gz bin-c11ef74879171dc631ceb227e53d6403719b5c38.tar.xz |
remove irssi_notify.sh; replaced by remote-notify-client.sh
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'irssi_notify.sh')
-rwxr-xr-x | irssi_notify.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/irssi_notify.sh b/irssi_notify.sh deleted file mode 100755 index de3d387..0000000 --- a/irssi_notify.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -[[ -z $DISPLAY ]] && exit 1; - -exec 0<&- - -ssh mistral 'tail -f -n0 ~/.irssi/fnotify' | - sed -ru " - s/&/\&/g; - s/</\</g; - s/>/\>/g; - s%(#[a-zA-Z]+ )<([^>]{0,10})>%\1<b>\2</b> %g - s%(https?://[^ ]+\.[a-zA-Z]{1,3})%<a href=\"\1\">\1</a>%g; - s%([a-zA-Z0-9+_-]+@[^ ]+\.[a-zA-Z]{1,3})%<a href=\"mailto:\1\">\1</a>%g;" | - while read heading message; do - if [[ -n $heading ]]; then - ssh mistral 'echo "" > ~/.irssi/fnotify'; - ossplay ~/misc/High_Bee-Public_D-135.wav - notify-send -t 5000 -- "${heading}" "${message}"; - fi - done |