diff options
| author | Kainoa Kanter <kainoa@t1c.dev> | 2025-10-25 23:33:49 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-26 06:33:49 +0000 |
| commit | e6f3c538da0c646bda43fcde7ef7dc3b771e0c8b (patch) | |
| tree | 935a519695fecc6998790bb628c85c1d6db52262 /src/utils | |
| parent | 4310c20c320d040f3df7a93de4064e452a1876ae (diff) | |
| download | niri-e6f3c538da0c646bda43fcde7ef7dc3b771e0c8b.tar.gz niri-e6f3c538da0c646bda43fcde7ef7dc3b771e0c8b.tar.bz2 niri-e6f3c538da0c646bda43fcde7ef7dc3b771e0c8b.zip | |
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 <yalterz@gmail.com>
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<PathBuf>) -> anyhow::Result<()> { +pub fn show_screenshot_notification(image_path: Option<&Path>) -> anyhow::Result<()> { use std::collections::HashMap; use zbus::zvariant; |
