FunctionHookTJU/dsh-custom-wallpaper

FunctionHookTJU★ 0JavaScript最后同步: 2026-08-15

在 GitHub 打开

deepseek harness 可自定义主题壁纸,主题色,磨砂玻璃,不透明度

README 摘要

dsh-custom-wallpaper 适用于 DeepSeek Harness (DSH) 的动态 Cordis 插件:自定义主题色、壁纸与面板不透明度,支持磨砂玻璃模糊,设置自动持久化。 功能123 - 主题色 :自定义强调色(品牌主色)与背景色,自动推导边框、文字、侧栏等派生配色 - 壁纸 :4 个渐变预设(无 / 暮色 / 晨曦 / 深海)、任意图片 URL、本地图片(大图自动压缩后写入配置) - 不透明度 :面板 20%–100% 半透明,数值越低壁纸透出越明显;开启壁纸时面板最高 90% 不透明,壁纸始终可见 - 磨砂玻璃 :0–30px 模糊强度,作用于壁纸层( filter: blur + 轻微放大消除边缘留白),不破坏界面 fixed 弹层布局 - 持久化 :全部设置写入 localStorage (key: dsh.custom-appearance.v1 ),关闭设置面板或刷新页面后自动恢复 - 入口:设置 → 「外观定制」分区(位于「通用」之后) 安装 方式 A:持久安装到 DSH profile(推荐,重启后仍生效) 插件已按 DSH 持久插件规范打包成本仓库根目录的 npm 包 dsh-plugin-custom-wallpaper : - package.json — 包元数据 + dsh.client.platform: "web" 声明 + exports["./client"] - lib/index.js — host 半(空实现,仅为让 profile 的 cordis loader 有可导入的插件入口) - lib/client.js — 客户端 bundle( window. ModuleLoader .load 注册工厂,功能与 client.js 一致) 应用到本机 DSH 的步骤: 1. 把包安装进 web profile 的 node modules: C:\Users\12252\.dsh\profiles\node modules\dsh-plugin-custom-wallpaper\ (已复制) 2. 在 profile 的 patch 层注册插件:编辑 C:\Users\12252\.dsh\profiles\web\cordis.patch.yml ,在 insert 列表中追加 { id: custom-wallpaper, name: dsh-plugin-custom-wallpaper } (已完成) 3. 重启 DSH( npx @deepseek-ai/dsh web ),客户端刷新后插件即生效 4. 验证:设置 → 「插件」页应出现 dsh-plugin-custom-wallpaper ; 设置 → 「外观定制」分区出现全部控件 以后修改插件:改本仓库 lib/ 下的源码 → …

在 GitHub 查看完整 README →
皮肤/UIdshdsh-plugindsh-plugins

分类