Skip to content

Conversation

a-kenji
Copy link
Contributor

@a-kenji a-kenji commented Nov 14, 2021

  • It is now possible to configure zellij through a layout:

    The config file and the layout file will be merged, on conflicting
    options the order is as follows:

    1. config options zellij options
    2. layout
    3. config

    Example:

---
template:
  direction: Horizontal
  parts:
    - direction: Vertical
      body: true
    - direction: Vertical
      borderless: true
      split_size:
        Fixed: 1
      run:
        plugin:
          location: "zellij:tab-bar"
default_shell: fish

fixes #759

* It is now possible to configure zellij through a layout:

  The config file and the layout file will be merged, on conflicting
  options the order is as follows:
  1. config options `zellij options`
  2. layout
  3. config

  Example:
```
---
template:
  direction: Horizontal
  parts:
    - direction: Vertical
      body: true
    - direction: Vertical
      borderless: true
      split_size:
        Fixed: 1
      run:
        plugin:
          location: "zellij:tab-bar"
default_shell: fish
```
@a-kenji a-kenji merged commit 347e02e into zellij-org:main Nov 14, 2021
@a-kenji a-kenji deleted the add-layout-config branch November 15, 2021 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Adding plugins declaration in layout files
1 participant