From e6f3c538da0c646bda43fcde7ef7dc3b771e0c8b Mon Sep 17 00:00:00 2001 From: Kainoa Kanter Date: Sat, 25 Oct 2025 23:33:49 -0700 Subject: feat: event-stream event for when a screenshot is taken (#2565) * feat: event-stream event for when a screenshot is taken * ScreenshotTaken --> ScreenshotCaptured * review comments * fix: screenshot completion event path serializatation * fixes --------- Co-authored-by: Ivan Molodetskikh --- src/utils/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils') diff --git a/src/utils/mod.rs b/src/utils/mod.rs index 53537098..4a7b4b6f 100644 --- a/src/utils/mod.rs +++ b/src/utils/mod.rs @@ -461,7 +461,7 @@ pub fn baba_is_float_offset(now: Duration, view_height: f64) -> f64 { } #[cfg(feature = "dbus")] -pub fn show_screenshot_notification(image_path: Option) -> anyhow::Result<()> { +pub fn show_screenshot_notification(image_path: Option<&Path>) -> anyhow::Result<()> { use std::collections::HashMap; use zbus::zvariant; -- cgit