paddykontschak / irssi-notifier

Simple script for irssi to trigger Mac OS X 10.8's Notification Center
110 stars 13 forks source link

Irssi crash under tmux #12

Closed blacksails closed 9 years ago

blacksails commented 9 years ago

Hi i got your script working when not using tmux.

When i use irssi inside tmux the script seems to crash irssi.

blacksails commented 9 years ago

The problem lies in the combination of tmux and terminal-notifier. Solved from this issue: https://github.com/julienXX/terminal-notifier/issues/115

hughes commented 8 years ago

So what was the solution? None of the workarounds in the linked issue seem to help.

hughes commented 8 years ago

Worked for me: brew install reattach-to-user-namespace

Then modify the do_notifier subroutine in notifier.pl to call system("reattach-to-user-namespace terminal-notifier -message '$data' -title '$title' >> /dev/null 2>&1");