hfbcwhy7gh-cpu/dsh-restart-hotkey ↗★ 0
dsh-restart-hotkey
DSH 桌面端自定义快捷键快速重启插件:支持窗口内自定义快捷键(默认 Ctrl+Shift+R)、防误触二次确认弹窗与一键重启应用。 适合需要频繁重启应用(如调试插件),并希望通过快捷键及二次确认防误触的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hfbcwhy7gh-cpu/dsh-restart-hotkeyREADME
Read the full README ↗⚙️ 快捷键与配置项
进入 DSH【设置】→【通用】 或 【快捷重启】:
| 配置项 | 默认值 | 说明 |
|---|---|---|
重启快捷键 (hotkey) | Ctrl+Shift+R | 点击“录制按键”后直接敲击键盘组合键自动保存,亦可使用内置预设 |
重启前弹窗二次确认 (confirmBeforeRestart) | true | 开启后按下快捷键先弹出确认模态框;关闭后按下快捷键将立即直接重启 |
| 测试重启应用 | - | 点击可立即模拟执行一次平滑重启过程,用于验证运行状态 |