Skip to content

Commit

Permalink
~/.irssi/scripts: made sound player 'sh' compatible (used bash before)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  • Loading branch information
Sergei Trofimovich committed Mar 26, 2012
1 parent 2ad1f9b commit 1698ce8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .irssi/scripts/autorun/pm.pl
Expand Up @@ -16,7 +16,7 @@
sub query_up sub query_up
{ {
my $sound="privmsg.wav"; my $sound="privmsg.wav";
`aplay ~/.irssi/sounds/$sound >& /dev/null &`; `aplay ~/.irssi/sounds/$sound >/dev/null 2>&1 &`;
} }


Irssi::signal_add_last('message private', 'query_up'); Irssi::signal_add_last('message private', 'query_up');
2 changes: 1 addition & 1 deletion .irssi/scripts/autorun/qo.pl
Expand Up @@ -16,7 +16,7 @@
sub toc_toc sub toc_toc
{ {
my $sound="query_open.wav"; my $sound="query_open.wav";
`aplay ~/.irssi/sounds/$sound >& /dev/null &`; `aplay ~/.irssi/sounds/$sound >/dev/null 2>&1 &`;
} }


Irssi::signal_add_last('query created', 'toc_toc'); Irssi::signal_add_last('query created', 'toc_toc');

0 comments on commit 1698ce8

Please sign in to comment.