summaryrefslogtreecommitdiffstats
path: root/irssi_notify.sh
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-02-28 19:18:18 +0100
committerFlorian Pritz <f-p@gmx.at>2009-02-28 19:18:18 +0100
commit8e0e61424e479d89d38828e6aec21ab631979d9b (patch)
tree1fc79061943300923625dec85f47c3990fffadae /irssi_notify.sh
parent679d1fc9b2d8e54da9b6b76d8763cd4c7c3f2e0a (diff)
downloadbin-8e0e61424e479d89d38828e6aec21ab631979d9b.tar.gz
bin-8e0e61424e479d89d38828e6aec21ab631979d9b.tar.xz
empty the right file...
Diffstat (limited to 'irssi_notify.sh')
-rwxr-xr-xirssi_notify.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/irssi_notify.sh b/irssi_notify.sh
index 67ec454..d017c5e 100755
--- a/irssi_notify.sh
+++ b/irssi_notify.sh
@@ -11,6 +11,6 @@ ssh mistral 'tail -f ~/.irssi/fnotify' |
s%([a-zA-Z0-9+_-]+@[^ ]+\.[a-zA-Z]{1,3})%<a href=\"mailto:\1\">\1</a>%g;" |
while read heading message
do
- echo "" > $HOME/.irssi/fnotify ;
+ ssh mistral 'echo "" > ~/.irssi/fnotify';
notify-send -t 5000 -- "${heading}" "${message}";
done