Skip to main content

Crate ferrishot

Crate ferrishot 

Source
Expand description

The ferrishot app

Macros§

icon
Helper to create a styled button with an icon

Structs§

App
Holds the state for ferrishot

Constants§

CLIPBOARD_DAEMON_ID
An argument that can be passed into the program to signal that it should daemonize itself. This can be anything as long as it is unlikely to be passed in by the user by mistake.

Statics§

CONFIG
Configuration of the app
SAVED_IMAGE
The image to save to a file, chosen by the user in a file picker.

Traits§

Explainer
An extension trait to show a red border around an element and all children

Functions§

run_clipboard_daemon
Runs a process in the background that provides clipboard access, until the user copies something else into their clipboard.