mirror of
https://codeberg.org/icewind/galton.git
synced 2026-06-03 10:24:07 +02:00
fix notification being send when file isn't touched
This commit is contained in:
parent
f7c12cb240
commit
cf6a7cde42
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ fn handle_watch_event(
|
||||||
}
|
}
|
||||||
if let Some(new_path) = handle_file(&file, rules, remove_duplicates) {
|
if let Some(new_path) = handle_file(&file, rules, remove_duplicates) {
|
||||||
maybe_link_target(&new_path, link_target);
|
maybe_link_target(&new_path, link_target);
|
||||||
if notify {
|
if notify && path != new_path {
|
||||||
show_notification(new_path);
|
show_notification(new_path);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue