weechat-notify-send icon indicating copy to clipboard operation
weechat-notify-send copied to clipboard

A way of getting sound notifications

Open ccozkan opened this issue 4 years ago • 2 comments

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,
            )

ccozkan avatar May 12 '20 21:05 ccozkan

Thank you. Maybe I will add support for something like this into the script.

s3rvac avatar May 13 '20 14:05 s3rvac

Wogh! I can't wait! ☺️☺️☺️

bandithijo avatar May 13 '20 16:05 bandithijo