diff options
author | a-kenji <aks.kenji@protonmail.com> | 2021-06-16 16:59:56 +0200 |
---|---|---|
committer | a-kenji <aks.kenji@protonmail.com> | 2021-06-16 17:09:05 +0200 |
commit | a9088264eb56f79d3f5d27b7806bdd1671654756 (patch) | |
tree | 2b230ad0c22b50459e08a9e6f52b74664af58aca /zellij-utils/assets/layouts | |
parent | 8e097c258aa64dbe817f13e510e1f5dd759e51b3 (diff) |
Change `layout` directory from `data` to `config`
* default layouts won't be installed by anymore,
instead they will be directly loaded
* `layout-dir` is now a subdirectory of the
`config-dir` by default, instead of the `data-dir`
POSSIBLE BREAKING CHANGE:
In case of having custom layouts in the previous
`layout-dir` one can switch either the layouts to
the new dir, or set the `layout-dir` to be the current
`layout-dir`
* it is possible to change the location of the `layout-dir`:
- `zellij options --layout-dir [LAYOUR_DIR]`
- `layout_dir: [LAYOUT_DIR]`
Diffstat (limited to 'zellij-utils/assets/layouts')
-rw-r--r-- | zellij-utils/assets/layouts/default.yaml | 12 | ||||
-rw-r--r-- | zellij-utils/assets/layouts/disable-status-bar.yaml | 8 | ||||
-rw-r--r-- | zellij-utils/assets/layouts/strider.yaml | 18 |
3 files changed, 38 insertions, 0 deletions
diff --git a/zellij-utils/assets/layouts/default.yaml b/zellij-utils/assets/layouts/default.yaml new file mode 100644 index 000000000..9be7af2a7 --- /dev/null +++ b/zellij-utils/assets/layouts/default.yaml @@ -0,0 +1,12 @@ +--- +direction: Horizontal +parts: + - direction: Vertical + split_size: + Fixed: 1 + plugin: tab-bar + - direction: Vertical + - direction: Vertical + split_size: + Fixed: 2 + plugin: status-bar diff --git a/zellij-utils/assets/layouts/disable-status-bar.yaml b/zellij-utils/assets/layouts/disable-status-bar.yaml new file mode 100644 index 000000000..fd9c97da6 --- /dev/null +++ b/zellij-utils/assets/layouts/disable-status-bar.yaml @@ -0,0 +1,8 @@ +--- +direction: Horizontal +parts: + - direction: Vertical + split_size: + Fixed: 1 + plugin: tab-bar + - direction: Vertical diff --git a/zellij-utils/assets/layouts/strider.yaml b/zellij-utils/assets/layouts/strider.yaml new file mode 100644 index 000000000..5dc9b08f9 --- /dev/null +++ b/zellij-utils/assets/layouts/strider.yaml @@ -0,0 +1,18 @@ +--- +direction: Horizontal +parts: + - direction: Vertical + split_size: + Fixed: 1 + plugin: tab-bar + - direction: Vertical + parts: + - direction: Horizontal + split_size: + Percent: 20 + plugin: strider + - direction: Horizontal + - direction: Vertical + split_size: + Fixed: 2 + plugin: status-bar |