Desktop notifications for Linux (#353)

* Enable desktop notifications for Linux

* Fix macOS

* Fix unused variable

* Add missing message

* Pass a title to notify-send
This commit is contained in:
Roey Darwish Dror
2020-03-03 13:30:09 +02:00
committed by GitHub
parent f9374e3ddf
commit 16efada11b
3 changed files with 45 additions and 20 deletions

View File

@@ -31,6 +31,7 @@ strum = { version = "0.17.1", features = ["derive"] }
thiserror = "1.0.9"
anyhow = "1.0.25"
tempfile = "3.1.0"
cfg-if = "0.1.10"
[target.'cfg(target_os = "macos")'.dependencies]
notify-rust = "3.6.3"