ThinkofRain1213/dsh-smooth-cursor-patched ↗★ 0

dsh-smooth-cursor-patched

为输入框和问题卡片提供平滑的彗星拖尾动画光标。 适合追求输入视觉特效、想要美化光标移动效果的用户。

包名
dsh-smooth-cursor-patched
兼容性
待验证
Harness 依赖范围
*
Cordis 依赖范围
^4.0.1
版本
0.1.9-patched.2
许可证
MIT
最近更新
2026年9月22日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ThinkofRain1213/dsh-smooth-cursor-patched

安装与使用

从 npm 安装(推荐)

dsh plugin --profile web add dsh-smooth-cursor-patched

从 GitHub 安装

dsh plugin --profile web add github:ThinkofRain1213/dsh-smooth-cursor-patched

安装后刷新或重启 dsh web,在 设置 → 通用 → 输入光标 中即可开启或微调各项参数。

手动安装(本地开发)

克隆本仓库并作为插件 bundle 添加:

git clone https://github.com/ThinkofRain1213/dsh-smooth-cursor-patched.git
cd dsh-smooth-cursor-patched
pnpm install --ignore-scripts
pnpm build

然后在你的 profile 的 cordis.patch.yml 中注册:

- insert:
    - id: smooth-cursor-patched
      name: dsh-smooth-cursor-patched

注意:id / name 必须与包名一致。改写为上游的 smooth-cursor / dsh-smooth-cursor 会与官方插件条目冲突,DSH 会因 loader id 重复而报 Failed to load plugins。

使用

当输入框获得焦点时特效即生效。打开 设置 → 通用 → 输入光标 可以:

  • 开关整个特效,或仅开关彗星拖尾。
  • 从色板选择强调色,或使用自定义取色器。
  • 选择光标的粗细。