diff --git a/src/main.rs b/src/main.rs index 7a70e13..7cd15f3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -180,13 +180,16 @@ fn is_part(path: &Path) -> bool { fn show_notification(source: PathBuf) { debug!(file = %source.display(), "showing notification for file"); + let parent = source.parent().unwrap(); match Notification::new() .summary("Download moved") .appname("Galton") .body(&format!( - "{}", + "{} moved to {}", source.display(), - source.file_name().unwrap().to_string_lossy() + source.file_name().unwrap().to_string_lossy(), + parent.display(), + parent.file_name().unwrap().to_string_lossy() )) .hint(Hint::ActionIcons(true)) .hint(Hint::Category("transfer.complete".into()))