Skip to content

feat: adds screenshot plugin #10

Open
sandptel wants to merge 2 commits intomecha-org:mainfrom
sandptel:screenshot
Open

feat: adds screenshot plugin #10
sandptel wants to merge 2 commits intomecha-org:mainfrom
sandptel:screenshot

Conversation

@sandptel
Copy link

Objective

This Plugin adds support for fetching and saving screenshots using the wlr_screencopy.

struct ScreenshotEvent {
    pub capture_type: CaptureType,
    pub mouse_overlay: MouseOverlay,
    pub output_path: PathBuf,
}

EventWriter<ScreenshotEvent> can be used to write a screenshot-event { request a screenshot to a specific output_path }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant