blob: 3b75281df2287d29b1366a4e32cefdf41aec9fee (
plain)
1
2
3
4
5
6
7
8
9
10
|
use notify_rust::Notification;
pub fn send_notification(title: &str, message: &str) {
let _ = Notification::new()
.summary(title)
.body(message)
.appname("pomoru")
.timeout(5000)
.show();
}
|