Choi-Peng/dsh-footer-order ↗★ 0
@choi-p/dsh-footer-order
DSH web sidebar footer action ordering: force the sidebar.footer.action slot into a vertical stack (display: contents → flex column) and let users configure the top-to-bottom order of the entries.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Choi-Peng/dsh-footer-order说明文档
阅读完整 README ↗配置
配置位于 profile 的 cordis.patch.yml 中本插件所在行:
- insert:
- id: footer-order
name: '@choi-p/dsh-footer-order'
config:
layout: column # column=上下排列(默认) | row=左右排列 | contents=不干预
gap: 0 # 条目间距(px,>=0)
align: stretch # stretch | start | center | end(column 时的交叉轴对齐)
order: [] # 插件 id 列表,自上而下:未列出的保持默认注册顺序并排在列出的之后
order里填的是各插件注册到sidebar.footer.action时使用的id(见各插件slots.register({ name,id,... })的id字段),不是包名。设置卡片里会列出当前已注册的所有 id,可直接用 ↑/↓ 调整。
使用
- 打开 dsh web,侧边栏底部多个 footer 插件内容将改为上下排列。
- 设置 → 插件 → 找到 Sidebar Footer Order 卡片,可调整排列方式、间距、对齐与上下顺序并保存。