Skip to content

Commit b81ed35

Browse files
committed
docs(desktop): document Hyprland feedback command loop
1 parent a3f2346 commit b81ed35

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎native/hyprland-snap-shot/src/feedback.rs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ fn target(bounds: Rect, frame: Rect) -> Result<Rect> {
169169
})
170170
}
171171

172+
/// Displays `directory/capture.png` in Hyprland feedback overlays, handling JSON
173+
/// commands from stdin and emitting presentation events to stdout until closed.
172174
pub fn run(directory: &Path, mut options: Options) -> Result<()> {
173175
if !options.bounds.valid() {
174176
return Err("Invalid capture bounds.".into());

0 commit comments

Comments
 (0)