dsh-screenshot-button

A camera button in the DSH composer toolbar that opens the OS screenshot tool (Windows Snipping Tool; macOS screencapture and Linux GNOME Screenshot / Spectacle / scrot are untested, and scrot needs wl-copy or xclip) and leaves the shot on the clipboard for Ctrl+V; the host route only accepts requests whose Host header is loopback.

Overview

A camera button in the DSH composer toolbar that opens the OS screenshot tool (Windows Snipping Tool; macOS screencapture and Linux GNOME Screenshot / Spectacle / scrot are untested, and scrot needs wl-copy or xclip) and leaves the shot on the clipboard for Ctrl+V; the host route only accepts requests whose Host header is loopback.

Installation

Install from GitHub

dsh plugin --profile web add github:SiriusWJ/dsh-screenshot-button

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.