dsh-screenshot-button

在 DSH 输入面板工具行加一个相机按钮,点击调起系统自带截图工具(Windows 截图工具已实测;macOS screencapture、Linux GNOME Screenshot / Spectacle / scrot 未实机验证,scrot 需 wl-copy 或 xclip),截图进剪贴板后按 Ctrl+V 粘贴;宿主路由只接受 Host 为本机回环地址的 POST。

插件介绍

在 DSH 输入面板工具行加一个相机按钮,点击调起系统自带截图工具(Windows 截图工具已实测;macOS screencapture、Linux GNOME Screenshot / Spectacle / scrot 未实机验证,scrot 需 wl-copy 或 xclip),截图进剪贴板后按 Ctrl+V 粘贴;宿主路由只接受 Host 为本机回环地址的 POST。

安装方式

从 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.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。