daemos 0.1.2

A local-only music player
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use notify_rust::Notification;
use tracing::error;

pub fn now_playing(track_name: &String) {
    if let Err(err) = Notification::new()
        .summary("Daemos")
        .body(&format!("Now playing - {track_name}"))
        .icon("daemos")
        .show()
    {
        error!("Failed to send now playing notification: {}", err)
    }
}