Chat wallpaper: use a local image, a local video or one of six preset gradients as the chat background, with clarity, opacity, zoom, position, dark veil, fit mode, motion and glass panels; files stay in IndexedDB and nothing is uploaded.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:yezitotempeace/dsh-chat-background
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
Change the DSH web UI background: use a local image, a local video, or one of the built-in preset gradients. A small floating button in the bottom-right corner opens the adjustment panel.
Images and videos are stored only in the browser's IndexedDB, settings only in localStorage — the plugin makes no network requests and never reads chat content.
What you can adjust
| Control | Effect |
|---|---|
| Pick image / video | Choose JPG / PNG / WebP / GIF or MP4 / WebM / MOV from your gallery or files |
| Preset backgrounds | Twelve gradients, each with a light-mode and a dark-mode painting that follows the UI theme: morning mist, sea salt, peach, green grape, aurora, sunset, deep sea, sakura, lavender, warm sand, night, ink rock |
| Clarity | 0–100%, lower means blurrier (mapped to 0–14px blur) |
| Background opacity | Opacity of the wallpaper itself |
| UI opacity | How much of the background shows through the UI base layer |
| Composer opacity | Transparency of the input card and user bubbles (default 90%) |
| Brightness / contrast / saturation | Color adjustments for the background |
| Zoom / horizontal / vertical position | Custom framing for portraits or large images |
| Veil | A black layer in the dark theme, a half-strength white haze in the light theme, to keep text readable |
| Fit mode | Cover / contain / tile |
| Motion | Static / drift / slow breathing (auto-disabled when the OS prefers reduced motion) |
| Video autoplay | Loop the video; when off it stops on the first frame (saves power) |
| Glass panels | Sidebar, cards and popovers become translucent glass |
| Enable background | One switch; turning it off restores the original UI |
The bottom-right button can be dragged up/down and remembers its position; Esc or a click outside closes the panel; settings survive a page refresh.
Why the light theme is no longer washed out
In a light UI, applying the same "UI opacity" as the dark theme turns a pale gradient into a flat grey sheet — the white base layer simply dominates. The base is therefore split:
- The base colour follows both theme and preset: every preset ships a pair of tint colours (tintLight / tintDark), and the light one keeps a hint of hue instead of neutral grey;
- The light theme runs at 55% strength: UI opacity is scaled by 0.55 in light mode, so the gradient survives while text contrast stays above 15:1;
- The base is a vertical gradient, not a flat sheet: 58% at the top, full in the middle, a touch more at the bottom, which gives the canvas depth;
- The veil colour follows the theme: a white haze at half strength in light mode, still black in dark mode.
All twelve presets carry a light and a dark painting, so switching themes needs no manual change.
Files
package.json plugin manifest: bundle patch + dsh.client (web)
cordis.patch.yml host loader row: id=chat-background
lib/index.js host half (empty apply, exists to occupy the row)
lib/client.js browser half: background layers + floating button + panel (plain DOM)
How it works
- The browser half inserts four fixed-position layers into
body: wallpaper#dshbg-image/ video#dshbg-video, dark veil#dshbg-veil, and a UI tint#dshbg-tint, all with negative z-index below the app content; video uses<video muted loop playsinline>. - When enabled it sets
data-dshbg="on"onbodyand makes--dsw-alias-bg-basetransparent so the chat canvas reveals the wallpaper; the UI tint is composed by#dshbg-tintwithcolor-mix()according to the UI-opacity setting, so it works for both light and dark themes. render()readsbody[data-ds-dark-theme]to pick the preset'scss/cssDarkpair and itstintLight/tintDark; aMutationObserverwatches that attribute, so switching themes needs no reload.- Glass mode additionally overrides
--dsw-specific-sidebar-filland--dsw-alias-bg-layer-1/2/3. - All DOM is mounted inside
ctx.effect, so disabling the plugin removes everything and leaves no style pollution.
Install
- Put the repo at
/root/dsh-chat-background; - add
"dsh-chat-background": "link:/root/dsh-chat-background"to the profiledependenciesanddsh-chat-backgroundtodsh.profile.bundles; - create the
node_modules/dsh-chat-backgroundlink and restart the web app; if the floating button does not appear, refresh the page once.
Disable / uninstall
- Remove
dsh-chat-backgroundfromdsh.profile.bundles(or add adisabled: truepatch row in the profilecordis.patch.yml); - restart the web app, then delete the link and this directory;
- to wipe the stored settings too: run
localStorage.removeItem('dsh-chat-background:state:v1')in the console and delete the IndexedDB databasedsh-chat-background.
Links
More in this category
elysia395/dsh-wallpaper-engine★ 8753
Requires DeepSeek Harness 0.1.5-rc.1+ (DSH Desktop >= 2.0.7) and dsh-better-sidebar >= 0.19.0 - update both before installing or updating this plugin. Plays local Wallpaper Engine Video/Web wallpapers behind the chat, renders Scene wallpapers as extracted static frames, and adds content-rating/type filters, custom uploads and an iOS-style liquid-glass settings window.
Small-tailqwq/dsh-deep-whale#maid-atelier★ 3170
Whale-girl skin series for the DSH Web UI (maid-atelier).
Nwflower/dsh-claude-style★ 776
Claude Code Desktop look-and-feel for the DSH Web GUI — ivory/warm-black dual canvas, clay accent, three-font typography, permission segmented control and brand switcher, via CSS overrides and client DOM overrides.
kingOfSoySauce/dsh-liang-skin★ 412
Adaptive reasoning slider skin that maps each model's available reasoning efforts onto a 0–30 visual intensity scale, with synchronized portraits, background, and interface colors.
d-dev0101/open-sea-skin★ 394
Realtime WebGPU ocean skin with quick controls for waves, daylight, glass opacity, and an automatic day cycle.
webkubor/dsh-bloom-theme★ 341
Bloom Morandi theme: fifteen variants (mist, cinnabar, petal, ripple, sage, stone, lapis, amber, aurora, lavender, mint, tangerine, silverrose, dawn, osmanthus) built on OKLCH so light and dark stay perceptually even; twelve are featured in the top-bar switcher, grouped by color family, and all 30 foreground/background pairs are measured at WCAG AA or better.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.