Choi-Peng/dsh-footer-order0

@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.

包名
@choi-p/dsh-footer-order
版本
0.1.1
许可证
MIT
最近更新
2026年8月18日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Choi-Peng/dsh-footer-order

配置

配置位于 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,可直接用 ↑/↓ 调整。

使用

  1. 打开 dsh web,侧边栏底部多个 footer 插件内容将改为上下排列。
  2. 设置 → 插件 → 找到 Sidebar Footer Order 卡片,可调整排列方式、间距、对齐与上下顺序并保存。