dsh-mpkg-wallpaper 3.13.12 → 3.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +10 -3
- package/README.md +11 -3
- package/lib/client.js +837 -152
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -258,8 +258,6 @@ Contains the *Show wallpaper* sub-section.
|
|
|
258
258
|
| Title bar frost amount | `headerBlurAmount` | 0% | Frost thickness 0–100% (default 0 = transparent) | 0 |
|
|
259
259
|
| Set title bar frost separately | `headerFrostOwn` | off | on = `headerFrostAmount` overrides the frost radius | off |
|
|
260
260
|
| Title bar frost strength | `headerFrostAmount` | 30px | 0–60 | 0 |
|
|
261
|
-
| Right sidebar / dock blur | `rightSidebarBlur` | on | The DSH right sidebar and bottom dock | off |
|
|
262
|
-
| Blur amount / surface opacity | `rightSidebarBlurAmount` / `rightSidebarAlpha` | 14px / 45% | 0–40 / 0–100% | — |
|
|
263
261
|
|
|
264
262
|
### 4. Surface unify (unify)
|
|
265
263
|
|
|
@@ -267,21 +265,30 @@ Contains the *Show wallpaper* sub-section.
|
|
|
267
265
|
|---|---|---|---|---|
|
|
268
266
|
| Unify blur | `unifyTint` | on | One slider drives the whole-screen blur; takes over sidebar/title-bar/right-sidebar frost | off |
|
|
269
267
|
| Full-screen blur degree | `unifyAmount` | 30px | 0–40 (drives the wallpaper-layer blur) | — |
|
|
270
|
-
|
|
|
268
|
+
| UI transparency | `sidebarAlpha` | 65% | **0% = fully opaque (normal UI), 100% = fully transparent (wallpaper visible)**; drives left sidebar / title bar / right sidebar · dock alike; independent of the blur | — |
|
|
271
269
|
| Chat follows full-screen blur | `chatFollow` | on | off = the chat area is driven by the *Frosted blur* slider | off |
|
|
272
270
|
| New-chat button follows panel opacity | `sessionFollow` | on | off = back to the host's original colour | off |
|
|
273
271
|
| Unified fog (full-screen mask) | `aquaMask` | off | All surfaces share one fog colour (moved here from the Aqua section) | off |
|
|
274
272
|
| Unified fog strength | `aquaMaskAlpha` | 82% | 0–100% | — |
|
|
275
273
|
|
|
274
|
+
> **What the two sliders mean (fixed since 2026-10-02; judged by `tools/fog-model-test.mjs`)**:
|
|
275
|
+
> *Full-screen blur degree* = blur radius (**0 = no blur at all**);
|
|
276
|
+
> *UI transparency* = how transparent the whole UI shell is (**0% = fully opaque — the normal UI, painted with the
|
|
277
|
+
> host's own surface colour; 100% = fully transparent, wallpaper visible**) — it is independent of the blur, and
|
|
278
|
+
> with transparency at 0 the plugin does not override the host at all (no background, no blur, no token changes).
|
|
279
|
+
> Both apply to the **whole UI shell** (left sidebar, title bar, right sidebar and dock share one set of tokens).
|
|
280
|
+
|
|
276
281
|
### 5. UI blur (blur)
|
|
277
282
|
|
|
278
283
|
| Label | Key | Default | Amount key / default | Off |
|
|
279
284
|
|---|---|---|---|---|
|
|
285
|
+
| Follow Unified blur | `blurFollowUnify` | **on** | on = the taken-over rows on this page follow the *Full-screen blur degree* + *Left sidebar / title-bar opacity*; off = they become independently adjustable | — |
|
|
280
286
|
| Blur dialogs | `dialogBlur` | on | `dialogAmount` 14px | off |
|
|
281
287
|
| Blur settings panel | `settingsBlur` | on | `settingsAmount` 14px | off |
|
|
282
288
|
| Blur download/confirm popups | `confirmBlur` | on | `confirmAmount` 12px | off |
|
|
283
289
|
| Blur popovers | `popoverBlur` | on | `popoverAmount` 10px; plus `popoverAlpha` 94% surface opacity | off |
|
|
284
290
|
| Blur mask (full-screen backdrop) | `maskBlur` | on | `maskAmount` 8px | off |
|
|
291
|
+
| Right sidebar / dock blur | `rightSidebarBlur` | on | `rightSidebarBlurAmount` 14px + `rightSidebarAlpha` 45%; both are taken over while following Unified blur | off |
|
|
285
292
|
|
|
286
293
|
### 6. Other (other)
|
|
287
294
|
|
package/README.md
CHANGED
|
@@ -273,8 +273,6 @@ node tools/build-bundle.mjs
|
|
|
273
273
|
| 标题栏磨砂程度 | `headerBlurAmount` | 0% | 白雾厚度 0–100%(默认 0 = 透明) | 0 |
|
|
274
274
|
| 单独调节标题栏磨砂 | `headerFrostOwn` | 关 | 开 = 用 `headerFrostAmount` 覆盖磨砂半径 | 关 |
|
|
275
275
|
| 标题栏磨砂强度 | `headerFrostAmount` | 30px | 0–60 | 0 |
|
|
276
|
-
| 右侧边栏/dock 虚化 | `rightSidebarBlur` | 开 | DSH 自带右侧边栏与底部 dock | 关 |
|
|
277
|
-
| 虚化程度 / 表面透明度 | `rightSidebarBlurAmount` / `rightSidebarAlpha` | 14px / 45% | 0–40 / 0–100% | — |
|
|
278
276
|
|
|
279
277
|
### 4. 界面统一(unify)
|
|
280
278
|
|
|
@@ -282,21 +280,30 @@ node tools/build-bundle.mjs
|
|
|
282
280
|
|---|---|---|---|---|
|
|
283
281
|
| 统一虚化 | `unifyTint` | 开 | 整屏模糊感由一个条控制;开启后接管侧边栏/标题栏/右栏磨砂 | 关 |
|
|
284
282
|
| 整屏虚化程度 | `unifyAmount` | 30px | 0–40(控制壁纸层 blur) | — |
|
|
285
|
-
|
|
|
283
|
+
| 界面透明度 | `sidebarAlpha` | 65% | **0% = 完全不透明(正常界面)、100% = 完全透明(看到壁纸)**;同时驱动左栏/标题栏/右栏·dock;与模糊互不影响 | — |
|
|
286
284
|
| 聊天区跟随整屏虚化 | `chatFollow` | 开 | 关 = 聊天区由「磨砂模糊」条控制 | 关 |
|
|
287
285
|
| 新会话按钮跟随面板不透明度 | `sessionFollow` | 开 | 关 = 回到宿主原色 | 关 |
|
|
288
286
|
| 统一雾(全屏遮罩) | `aquaMask` | 关 | 所有表面共享一种雾色(原 Aqua 实验项) | 关 |
|
|
289
287
|
| 统一雾强度 | `aquaMaskAlpha` | 82% | 0–100% | — |
|
|
290
288
|
|
|
289
|
+
> **两个条的语义(2026-10-02 起口径固定,判据 `tools/fog-model-test.mjs`)**:
|
|
290
|
+
> 「整屏虚化程度」= 模糊半径(**0 = 完全不虚化**);
|
|
291
|
+
> 「界面透明度」= 整个界面外壳的透明程度(**0% = 完全不透明(正常界面,用宿主自己的表面色)、100% = 完全透明(看到壁纸)**)——
|
|
292
|
+
> 它与模糊**互不影响**:模糊 0 时照样按它透出,只是背后壁纸是清晰的。
|
|
293
|
+
> 另外:**透明度 = 0 时插件完全不覆盖宿主**(不写背景/不写模糊/不动宿主 token)。
|
|
294
|
+
> 两者对**整个界面外壳**生效(左栏/标题栏/右栏/dock 共用同一套表面 token)。
|
|
295
|
+
|
|
291
296
|
### 5. 界面虚化(blur)
|
|
292
297
|
|
|
293
298
|
| 面板文案 | 内部键 | 默认 | 程度键 / 默认 | 关 |
|
|
294
299
|
|---|---|---|---|---|
|
|
300
|
+
| 跟随统一虚化 | `blurFollowUnify` | **开** | 开 = 被接管的项(左栏磨砂/标题栏磨砂/右侧边栏·dock)与统一值一致;**其中任一项你自己调过之后就独立**;关 = 全部独立;重新打开 = 清空独立标记 | — |
|
|
295
301
|
| 虚化对话框 | `dialogBlur` | 开 | `dialogAmount` 14px | 关 |
|
|
296
302
|
| 虚化设置面板 | `settingsBlur` | 开 | `settingsAmount` 14px | 关 |
|
|
297
303
|
| 虚化下载/确认弹窗 | `confirmBlur` | 开 | `confirmAmount` 12px | 关 |
|
|
298
304
|
| 虚化弹层 | `popoverBlur` | 开 | `popoverAmount` 10px;另有 `popoverAlpha` 94% 表面不透明度 | 关 |
|
|
299
305
|
| 虚化遮罩(全屏背景) | `maskBlur` | 开 | `maskAmount` 8px | 关 |
|
|
306
|
+
| 右侧边栏/dock 虚化 | `rightSidebarBlur` | 开 | `rightSidebarBlurAmount` 14px + `rightSidebarAlpha` 45%;跟随统一虚化时两项都被接管 | 关 |
|
|
300
307
|
|
|
301
308
|
### 6. 其他(other)
|
|
302
309
|
|
|
@@ -308,6 +315,7 @@ node tools/build-bundle.mjs
|
|
|
308
315
|
| 第三方 UI 圆角兼容 | `roundCompat` | 关 | 兼容第三方插件圆角 | 关 |
|
|
309
316
|
| 自适应文字色 + 蓝色清理 | `aquaInk` | 关 | 文字色随遮罩亮度自适应 + 品牌色统一(配 `aquaInkColor`) | 关 |
|
|
310
317
|
| 深底文字可读增强 | `aquaTextEnhance` | 关 | 文字双色描边(近似方案) | 关 |
|
|
318
|
+
| ≥4K 源自动降 1080p | `resMax`(自动写 1920) | 自动 | 检测到 ≥4K 且宿主转码可用、且你没设过「分辨率上限」时,自动把该壁纸降到 1080p(每张壁纸一次;`?autocap=off` 关闭;设置里可改回) | `?autocap=off` |
|
|
311
319
|
| 纯 Scene 壁纸渲染方式 | `sceneRender` | — | ⚠ 有按钮、有写入,**无读取点**(未接线) | — |
|
|
312
320
|
| 场景渲染上报(排障) | `sceneReport` | 开 | 壁纸每 10s 把渲染器现场写到 `reports/` | 关 |
|
|
313
321
|
| 场景首帧看门狗 | `sceneWatchdog` | 开 | 超时未出画自动回退静态帧;等待时长 `sceneWatchdogSecs` 8s(3–30) | 关 |
|