dsh-wallpaper-studio: DSH Dynamic Wallpaper & Theme Control Plugin

Introduction

DeepSeek Harness (DSH) is an agent development platform built on the philosophy of “everything is a plugin.” The plugin ecosystem already features several appearance and wallpaper plugins, such as elysia395/dsh-wallpaper-engine, which relies on the local Wallpaper Engine runtime to display video or scene wallpapers behind the chat interface. However, such solutions require installing the Steam application or Wallpaper Engine separately, and they depend on the host’s internal DOM structure, making them fragile across version updates.

xiaojiuop/dsh-wallpaper-studio is a purely client-side wallpaper and theming solution. It has zero external runtime dependencies—directly rendering images, videos, or built-in gradients as the full-interface background—while providing fine-grained control over theme colors and panel transparency. Once installed in the Web GUI or the DSH desktop app, you can complete the entire configuration from the “Wallpaper Studio” card under Plugins → Installed Plugins → dsh-wallpaper-studio.

What It Solves

  • You want a dynamic wallpaper but don’t want to install Wallpaper Engine or Steam
  • You’d like to adjust DSH’s color scheme and opacity without modifying the host source code
  • You need a cross-platform wallpaper and appearance solution (works on Windows / macOS / Linux / browsers)
  • You don’t want to upload wallpaper assets to a server and prefer to manage them locally

Core Capabilities

Dynamic Wallpapers

Supports multiple asset sources:

  • Image upload: JPG / PNG / WebP / GIF (animation preserved)
  • Video upload: MP4 / WebM, muted and looping
  • Direct URL: Automatically routes to image or video based on file extension (requires a CORS-friendly direct link)
  • Built-in gradient animations: Aurora Flow, Midnight Stardust, Forest Morning Mist, Lava Embers, Sakura Dusk, and Glacier Glow—pure CSS gradients with slow displacement animations

Scaling modes: Cover / Contain / Tile. Effects include wallpaper visibility, background blur (0–40px), overlay darkness (readability veil), and a base background layer.

Assets are stored in the local browser: images/videos go to IndexedDB (bypassing the localStorage quota), while configuration goes to localStorage. Nothing is uploaded to any server.

Theme Colors

Three roles: Primary, Base, and Panel. Dual-channel input via native color picker + HEX text field.

Lighter shades of the Panel color (layer-2 / layer-3 / module / sidebar-fill) are derived by blending the Base color at defined ratios, automatically maintaining a cohesive tonal hierarchy. Both light and dark modes carry their own value sets, and the appropriate palette is applied automatically when switching themes. Each role supports a “Follow Default” option to revert to DSH’s native colors with one click.

Opacity

Three independent opacity levels (0–100%) for Panel / Input Box / Popover, each operating independently. Applied at the token level, so cards, sidebars, bubbles, menus, and input bars all follow along—no need to write selectors one by one.

Others

  • Wallpaper Studio panel in the left sidebar: a full-width control page where wallpaper, effects, theme colors, opacity, presets, and import/export are all within one screen
  • 6 color presets: Default / Midnight / Ocean / Forest / Sakura / Glacier—each sets Primary + Base + Panel color + opacity + built-in wallpaper in one go
  • Config import/export: a single JSON string to share an entire appearance setup
  • Explicit save & save status: a “Save” button in the panel header and settings card writes immediately and shows “Saved”; changes still auto-save in the background, and a red error message appears if a write fails

Installation & Activation

Install from the npm public registry:

dsh plugin --profile web add dsh-wallpaper-studio

Or install from a GitHub Release attachment:

curl -L -O https://github.com/xiaojiuop/dsh-wallpaper-studio/releases/latest/download/dsh-wallpaper-studio.tgz
dsh plugin --profile web add ./dsh-wallpaper-studio.tgz

Or install from a local directory (for development):

dsh plugin --profile web add link:/abs/path/to/dsh-wallpaper-studio

After installation, restart the host (dsh web or the desktop app) for the plugin to take effect.

Typical Usage

After installing, go to Plugins → Installed Plugins → dsh-wallpaper-studio and click “View” to open the control card. A new “Wallpaper Studio” icon appears in the left sidebar—clicking it opens the full panel.

In the Dynamic Wallpaper section:

  1. Click “No Wallpaper” or one of the 6 built-in animated wallpapers to switch instantly
  2. Click “Upload Image” or “Upload Video,” select a local file, and the wallpaper layer takes effect immediately (the file is stored in IndexedDB)
  3. Paste an image or video URL in the “Direct Link” field—the plugin auto-detects and loads it (the server must support CORS)

In the Background Effects section:

  1. Adjust “Wallpaper Visibility” to control how much the wallpaper shows through the background
  2. Adjust “Background Blur” to add a blur effect to the wallpaper (0–40px)
  3. Adjust “Overlay Darkness” to add a readability veil
  4. Select a “Scaling Mode” to determine how the wallpaper fills the screen

In the Theme Colors section:

  1. Use the color picker or enter HEX values directly to set Primary, Base, and Panel colors
  2. Click “Follow Default” on any role to clear it and restore DSH’s native color scheme

In the UI Transparency section:

  1. Adjust the opacity of Panel, Input Box, and Popover independently (0–100%) for layered transparency control

All changes take effect immediately and are auto-saved; the panel header and settings card also feature a “Save” button that writes immediately and displays “Saved.”

Implementation & Notes

How It Works

The plugin does not rely on Wallpaper Engine or Steam, nor does it modify the host source code. It implements theme colors and opacity by overriding DSH’s alias design tokens (--dsw-alias-*), rather than manipulating the host’s private class names. The wallpaper layer uses #dws-bg with fixed positioning, z-index:-1, and inset:-48px, sitting at the very bottom of the interface, with CSS variables controlling visibility, blur, and overlay.

Configuration is stored in localStorage["dsh-wallpaper-studio:v1"], and wallpaper Blobs are stored in the IndexedDB object store dsh-wallpaper-studio-db / media. Uninstalling the plugin automatically cleans up all side effects, including the wallpaper layer, token overrides, video players, and object URLs.

Known Limitations

  • Partial opacity gaps: A few host-hardcoded static colors (e.g., a card’s --changes-fill / --deliverable-fill) remain opaque—safer than making entire blocks transparent
  • Token names are tied to the current alias layer: All theme colors and opacity values are centralized in the modeTokens() function; future versions only need to change that one place
  • Video encoding: Depends on browser support (H.264/WebM generally work fine; HEVC most likely won’t)
  • Quota: IndexedDB single uploads are recommended to be ≤100MB; exceeding this may cause the browser to reject the write
  • Conflicts with similar plugins: Enabling multiple appearance plugins simultaneously (e.g., dsh-ui-appearance, dsh-any-background, dsh-wallpaper-bg) will cause them to override each other—keep only one active

Use Cases

  • You want a dynamic wallpaper for DSH without installing an extra runtime
  • You need fine-grained control over the interface’s colors and opacity without modifying the host source
  • You prefer to manage wallpaper assets locally and avoid uploading them to a server
  • You want to use the same appearance setup across different themes (dark/light)

In Short

dsh-wallpaper-studio is a lightweight, cross-platform wallpaper and theming solution. It requires no external runtime, achieves fine-grained theme color and opacity control by overriding design tokens, and is ideal for developers who want to restyle DSH without touching the host source code.

  • Plugin catalog: https://www.skillhub.cn/plugins/xiaojiuop/dsh-wallpaper-studio
  • Source repository: https://github.com/xiaojiuop/dsh-wallpaper-studio
羽毛球分组比赛记分
小程序二维码

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

Xiaoye