dsh-local-background

用本地文件夹当 DSH Web 壁纸:默认就用当前用户的「图片」库(C:\Users\<用户名>\Pictures),宿主通过同源 HTTP 提供其中的图片,每 N 分钟轮换一张(0-1440,默认 5),洗牌后一轮内不重复;「插件」页的设置界面可用系统原生文件夹对话框换目录,并可调节背景图不透明度(100%)、压暗遮罩(25%)与面板不透明度(15%),改动即时生效。弹窗、对话框与菜单保持默认不透明底色,字更清楚。直接读取 .jpg .jpeg .png .webp .gif .avif .bmp,用户配置写入 $DSH_HOME,升级不会带上你的目录路径。

插件介绍

用本地文件夹当 DSH Web 壁纸:默认就用当前用户的「图片」库(C:\Users\<用户名>\Pictures),宿主通过同源 HTTP 提供其中的图片,每 N 分钟轮换一张(0-1440,默认 5),洗牌后一轮内不重复;「插件」页的设置界面可用系统原生文件夹对话框换目录,并可调节背景图不透明度(100%)、压暗遮罩(25%)与面板不透明度(15%),改动即时生效。弹窗、对话框与菜单保持默认不透明底色,字更清楚。直接读取 .jpg .jpeg .png .webp .gif .avif .bmp,用户配置写入 $DSH_HOME,升级不会带上你的目录路径。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:yidao2000/dsh-local-background

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。