weechat-notify-send
weechat-notify-send copied to clipboard
A way of getting sound notifications
Hey, thanks for this great script! I wanted to share my lazy way to get sound notifications for those people who might be interested in✌
with open(os.devnull, 'wb') as devnull:
try:
subprocess.check_call(
notify_cmd,
stderr=subprocess.STDOUT,
stdout=devnull,
)
subprocess.check_call(
['aplay', '/path/to/sound/file.wav'],
stderr=subprocess.STDOUT,
stdout=devnull,
)
Thank you. Maybe I will add support for something like this into the script.
Wogh! I can't wait! ☺️☺️☺️