SnoWinKK/dsh-background1

dsh-background

Custom background wallpaper for the DSH desktop UI: image + overlay, configured via ~/.config/dsh-background/config.json.

包名
dsh-background
版本
0.1.0
许可证
MIT
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:SnoWinKK/dsh-background

安装(给使用者,三选一)

方式 A:让 DSH 的 AI 帮你装(最简单)

把这句话发给你的 DSH:

帮我安装 dsh-background 插件,代码在 github:SnoWinKK/dsh-background

方式 B:命令安装(需要 dshpnpm


## 使用

| 操作 | 方式 |
| --- | --- |
| 换背景图 | 设置 → 常规 → 自定义背景 → 🖼️ 选择图片… |
| 快速操作 | 聊天框输入 `/background` |
| 调暗 / 调亮 | 面板上的 ◐ / ◑ 按钮,或 `/background` 菜单 |
| 清除背景 | 🗑️ 清除(恢复默认) |

## 配置

`~/.config/dsh-background/config.json`(可选,优先级高于 localStorage):

```json
{
  "image": "file:///C:/path/to/wallpaper.png",
  "overlay": 0.35
}
字段说明
image背景图来源:data URL / 本地路径 / http(s) 地址
overlay遮罩强度 0(全透)~ 1(不透明),默认 0.35