Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add layout config #866

Merged
merged 6 commits into from
Nov 14, 2021
Merged

Add layout config #866

merged 6 commits into from
Nov 14, 2021

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
This pull request was closed.
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