Enable Terminal / iterm2 sound notification exclusively

Solution 1:

You can create separate profiles one with sound disabled (default) and one with sound enabled (for your weechat). These are available both in Terminal and iTerm2.

Terminal enter image description here

iTerm2

enter image description here