Skip to content

Add custom tool to send notification #9

@anki-code

Description

@anki-code

Hi! Thanks for this xontrib!

It will be cool to have an ability to send notification using external tool.

For example run wsl-notify-send as

sp.check_output(['/tmp/wsl-notify-send.exe', '--appId', 'Title!', '-c', 'Subtitle!', 'Message!']).decode().strip()

instead of this:

from notifypy import Notify
noti = Notify()
noti.title = str(f"{cmd}")
noti.message = f'{"Failed" if rtn else "Done"} in {readable}'
noti.send()

For community

⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions