I came up with a solution that I wanted to share here, just because the linuxmint community is great online community.
Linuxmint comes with hexchat by default. So, I wrote a Python script for hexchat that does everything I need and I hope this helps others. I've posted this in here before, but I wanted to make another post since I've updated the script.
Code: Select all
__module_name__ = "Twitch_Notifications" __module_version__ = "2.0" __module_author__ = "Mysterious_Loner" __module_description__ = "Display messages and streamevents as system notifications" import hexchat import os import sys # Display message as system notifications def twitch_notify(word, word_eol, userdata): nick = word.split('!').split('@').upper() message = ' '.join(word[3:]) os.system('notify-send -t 120000 "' +nick +' ' +message +'"') return hexchat.EAT_NONE # Display streamalerts as system nofications def streamalerts(word, word_eol, userdata): capture = ' '.join(word[0:]) for line in capture: print(capture + '\n') return hexchat.EAT_NONE hexchat.hook_server("PRIVMSG", twitch_notify) hexchat.hook_server("USERNOTICE", streamalerts)
After doing that you'll need to connect Hexchat to the twitch server is just a matter of settings, I'm just gonna leave this to you via internet search.
Some notes on this script, I arbitrarily set the time for the chat bubbles to 2 minutes... if you want to alter this simply adjust the time by changing "-t 120000" to a value that corresponds to the time you desire. Please let me know if you encounter any issues with this script.