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.

AI 分析

核心用途是优化侧边栏底部多个插件图标的布局。适合安装了多个底部插件、需要调整它们上下/左右排列顺序及间距的 DSH 界面定制用户。

パッケージ
@choi-p/dsh-footer-order
バージョン
0.1.1
ライセンス
MIT
最終更新
2026/08/18

インストール

$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,可直接用 ↑/↓ 调整。

使用

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