clock-cli 0.1.1

Clock utilities (stopwatch, timer) on the command line with TUI (text user interface)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::utils::BoxedError;
use notify_rust::Notification;
use std::result::Result;

pub fn notify(msg: &str) -> Result<(), BoxedError> {
    Notification::new()
        .summary("Clock")
        .body(msg)
        .icon("clock")
        .show()?;
    Ok(())
}