DSH UI Beautify: Wallpaper and Frosted Glass - Desktop Beautification without Layout Intrusion

Introduction

When writing agents or tweaking plugins in the DSH desktop environment for long periods, the interface often defaults to a standard theme with a solid background color. Users wanting to change wallpapers or create semi-transparent panels typically resort to modifying host styles or forking themes. This approach involves high rollback costs and often conflicts with subsequent DSH updates. The community plugin DSH UI Beautify (package name dsh-ui-beautify) confines modifications to the plugin’s own DOM and styles: it touches no layouts, modifies no host code, stores settings in local localStorage, and allows for layer-by-layer removal upon uninstallation or disabling the mode. The following sections introduce what it is, what it can do, and how to install and use it on Windows.

What is this?

DSH UI Beautify is published by maintainer Rad-Weed and categorized as “Fun Customization” in the SkillHub Plugin Directory. The version referenced in current materials is v0.8.15, with the route prefix /dsh-ui-beautify/*, the page-side global object __DSHUI__, and configuration key prefix __dshui.*.

Its positioning can be summarized as a lightweight beautification tool that adds wallpapers and frosted glass effects to the DSH desktop interface. It includes startup animations, block cursors, a title bar “Restart” button, and on-screen diagnostics, while adapting to DSH’s dark and light themes. Supported environments are Windows 10/11 and DSH Desktop (Chromium/Electron); the engine requires DSH >=0.2.0-rc.0 and Node >=18 (for development and testing).

Core Features

Features are subject to the README description; this section lists only verified items.

Wallpaper and Concentration

Mode Description
Texture (multiply) Full-page multiply blending; body text remains clear on white backgrounds
Background (backdrop) Image laid at the bottom layer, with panels naturally overlaid on the image

Both modes feature concentration sliders with fade-in/fade-out transitions when switching images. Default concentration values differ between dark and light themes (e.g., dark texture defaults to 0.85, background to 0.7; light is 0.49 / 0.5), and slider settings are saved separately per theme.

Frosted Glass and Bubbles

Adjustments for blur, white layer, and opacity can be applied to main surfaces, secondary panels, Q&A windows, input boxes, and chat bubbles. Bubbles retain original colors and support transparency, blur, and custom colors; code blocks and chat highlights are also adapted.

Dark and Light Themes

Theme determination primarily relies on DSH’s body[data-ds-dark-theme]; color-scheme, token brightness, and system preferences serve as fallbacks. The dark wallpaper prioritizes reading DeepSeek 暗夜模式.png (case-variant compatible) from the desktop; if absent, it uses the packaged assets/deepseek-dark.webp. The light theme continues to use the original two wallpapers (e.g., deepseek 4k, deepseek 黑白无水面). Upon theme switching, layers, frosted glass, bubbles, and panel colors are recalculated.

Startup Screen, Cursor, and AI Visual Effects

  • Startup Screen: A six-act authorization sequence, welcome card, and sound effects. It can be replayed, skipped, or disabled; skipping does not block startup.
  • Block Cursor: Command-prompt style; Ctrl+Shift+Alt+M toggles animation effects.
  • AI Thinking Visuals: In texture/background modes, thin lines with subtle gradients are added to the left of the chain of thought and replies to facilitate line-by-line reading.

Restart Key and Diagnostics

The title bar can inject a native “Restart” button. When enabled, it may perform a reversible shell patch on app.asar via an included script (requires fully quitting DSH once). It can coexist with the standalone plugin dsh-restart-key: if the other plugin provides the button, this plugin yields; otherwise, it takes over (approx. 1.8s retry).

Diagnostics do not rely on the console: use the on-screen panel, or access /dsh-ui-beautify/status.json, /dsh-ui-beautify/diag.json, or the page hash #dshui-diag (legacy #dsniang-diag is still compatible).

Side Effects and Privacy (README Statement)

Item Description
app.asar Modified only when enabling the restart key chain; includes markers and dual SHA backups for restoration
Network No requests, no telemetry
User Data Settings stored only in local localStorage (__dshui.*)

The license is MIT; the startup screen structure references the MIT project dsh-startup-screen, while visuals and implementation are original to this repository. DSH is a product of its respective rights holders; this project is not affiliated with the official team.

Installation and Activation

The official README does not provide commands like dsh plugin add github:...; installation is via local directory.

Requirements: Windows 10/11, DSH Desktop.

  1. Download and extract the release package dsh-ui-beautify-0.8.15.zip;
  2. In DSH plugin management, select to install a local directory, using an absolute path for target, e.g.:
file:C:/path/to/dsh-ui-beautify
  1. Restart DSH once.

Installation writes an entry to the profile’s node_modules/dsh-ui-beautify and enables the bundle; it installs no system services and writes no scheduled tasks. If using pnpm and encountering ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION, specify the official registry during installation: https://registry.npmjs.org/.

Note: The plugin runs with the permissions of the current DSH process; enabling the restart key involves shell patching and a PowerShell installer (see README “External Side Effects”). It is recommended to read the repository source code and LICENSE before installation to assess whether you accept the reversible modifications to app.asar.

Typical Usage

Top-Left Capsule Panel

Click the capsule to toggle the settings panel; press and hold to drag its position. Within the panel, you can:

  • Switch modes between “Off / Texture / Background”;
  • Select wallpapers based on the current theme (dark/light preferences saved separately);
  • Adjust concentration, white layer, frosted glass, bubbles, etc., with instant effect and auto-save;
  • View quick diagnostics, restart key status, startup screen toggles, etc.

Shortcuts

  • Ctrl+Shift+Alt+1: Disable beautification
  • Ctrl+Shift+Alt+2: Texture mode
  • Ctrl+Shift+Alt+D: Open panel
  • Ctrl+Shift+Alt+I: Diagnostics
  • Ctrl+Shift+Alt+M: Toggle cursor animation

Console API

You can call methods via window.__DSHUI__ in the page, e.g.:

__DSHUI__.status()
__DSHUI__.setMode('off')      // 'off' | 'multiply' | 'backdrop'
__DSHUI__.setOpacity(0.5)
__DSHUI__.setFrostEnabled(true)
__DSHUI__.switcher()
__DSHUI__.splash.replay()
__DSHUI__.restart.state()

For the complete API table, see the GitHub README; usage for diagnose(), setScrim, setFrostBlur, setBubbleFx, splash.skip(), etc., is subject to the repository documentation.

Use Cases and Notes

Suitable for: Developers using DSH Desktop on Windows who want wallpaper and frosted glass beautification without modifying host layouts; users needing local diagnostics and an optional title bar restart entry.

Not suitable or use with caution: Non-Windows environments (README only declares Win10/11); users who cannot accept the restart key chain’s patching of app.asar should only use visual features or disable restart-related options, and read restart/README.md and restart/USAGE.txt.

Repository self-tests (recorded in README): host 30/30, client 102/102, reload-ui 6/6 (offline). For development and packaging, refer to:

node test/host.test.mjs
node test/client.test.mjs
powershell -ExecutionPolicy Bypass -File tools/build-dist.ps1

Conclusion

DSH UI Beautify encapsulates wallpapers, frosted glass, theme adaptation, and diagnostics within a single MIT plugin. Modifications are limited to plugin nodes and optional shell patches, with declarations of no network access and no telemetry. To view classification and brief descriptions, open the SkillHub Directory Page; for installation packages, version notes, and HANDOFF development records, see GitHub: Rad-Weed/DSH-UI-Beautify.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye