dsh-longpress-shot

Region screenshot for DSH without a hotkey (Windows only; capture runs through PowerShell + GDI). Hold the left mouse button for 550 ms, the page dims into a crosshair, drag a box, release: the crop is saved to ~/.dsh/longpress-shots and copied to the clipboard, and a preview card can send the same bytes into the composer (button, Ctrl+V, or drag) instead of hunting for a file dialog.

Overview

Region screenshot for DSH without a hotkey (Windows only; capture runs through PowerShell + GDI). Hold the left mouse button for 550 ms, the page dims into a crosshair, drag a box, release: the crop is saved to ~/.dsh/longpress-shots and copied to the clipboard, and a preview card can send the same bytes into the composer (button, Ctrl+V, or drag) instead of hunting for a file dialog.

Installation

Install from GitHub

dsh plugin --profile web add github:kkkkk-tubu/dsh-longpress-shot

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.

Installation notes

  • May run terminal commands