Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add sound option #4

Merged
merged 1 commit into from
Jan 18, 2015
Merged

add sound option #4

merged 1 commit into from
Jan 18, 2015

Conversation

thiagopnts
Copy link

This adds a sound option to enable a sound on the notification.

@@ -26,15 +29,16 @@
weechat.hook_print('', 'irc_privmsg', '', 1, 'notify', '')

def notify(data, buffer, date, tags, displayed, highlight, prefix, message):
if weechat.config_get_plugin('show_highlights') == 'on' and highlight == '1':
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you change highlight == '1'?

@sindresorhus
Copy link
Owner

Did you test this with latest version of Weechat? I don't use Weechat anymore, so won't be able to test.

@thiagopnts
Copy link
Author

I just updated the PR, I use this daily so if anyone find something wrong ping me

sindresorhus added a commit that referenced this pull request Jan 18, 2015
@sindresorhus sindresorhus merged commit e2f168d into sindresorhus:master Jan 18, 2015
@sindresorhus
Copy link
Owner

Thanks. I sent in an update to the WeeChat script thingy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants