screenshot-rs

Simple library that allows for simple method of asking for screenshots from various Linux/BSD desktops

Features

Screenshot tools required (at least one)

Freezing screen for area screenshots

Uses feh if available to take a screenshot of the full screen, open it, and select an area of that screenshot to freeze the screen

How it works

Checks '$XDGSESSIONTYPE' for either Wayland or X11, and checks for available screenshotting applications.

Methods

screenshot_area(file: String, freeze: Bool)

Changelog

[0.1.2] - 2018-12-07

[0.1.1] - 2018-10-03

[0.1.0] - 2018-10-01