-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
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:
xontrib-cmd-durations/xontrib/cmd_done.py
Lines 128 to 133 in 383b6ad
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
anki-code
Metadata
Metadata
Assignees
Labels
No labels