Use notify-py to send notifications

- Use notify-py to send notifications, but use a custom notifier on
  Linux since transient (ie non-sticky) notifications are not supported.
- Add an icon to the notification.
- Don't send a notification after doing `./mach check` because that
  can trigger notifications when `rust-analyzer` is working.
This commit is contained in:
Martin Robinson 2023-04-10 14:46:08 +02:00
parent 53218621e9
commit 492091e5b0
4 changed files with 56 additions and 161 deletions

View file

@ -32,4 +32,7 @@ certifi
# For Python3 compatibility
six == 1.15
# For sending build notifications.
notify-py == 0.3.42
-e python/tidy