This website requires JavaScript.
Explore
Help
Sign In
zellij-org
/
zellij
Watch
1
Star
1
Fork
0
You've already forked zellij
mirror of
https://github.com/zellij-org/zellij.git
synced
2024-11-30 09:55:29 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
081c55458d
zellij
/
zellij-utils
/
assets
/
layouts
/
disable-status-bar.yaml
10 lines
143 B
YAML
Raw
Normal View
History
Unescape
Escape
Add layout to disable the status-bar
2021-05-31 21:28:14 +03:00
---
direction
:
Horizontal
parts
:
-
direction
:
Vertical
split_size
:
Fixed
:
1
Add commands to layout Add the ability to run commands on loading a layout: ``` - direction: Horizontal split_size: Percent: 50 run: command: {cmd: htop} ``` or respectively: ``` - direction: Horizontal split_size: Percent: 50 run: command: {cmd: htop, args: ["-C"]} ``` In order to specify the difference of commands and plugins now the plugins need to be under the `run` section: ``` - direction: Vertical split_size: Fixed: 2 run: plugin: status-bar ``` This also means that this is a breaking change for people that already have a custom layout. Example layouts: ``` --- direction: Vertical parts: - direction: Horizontal split_size: Percent: 50 parts: - direction: Vertical split_size: Percent: 50 - direction: Vertical split_size: Percent: 50 run: command: {cmd: htop} - direction: Horizontal split_size: Percent: 50 run: command: {cmd: htop} ``` and: ``` --- direction: Horizontal parts: - direction: Vertical split_size: Fixed: 1 run: plugin: tab-bar - direction: Vertical parts: - direction: Vertical parts: - direction: Vertical split_size: Percent: 50 run: command: {cmd: htop} - direction: Vertical split_size: Percent: 50 run: command: {cmd: htop, args: ["-C"]} - direction: Vertical split_size: Fixed: 5 - direction: Vertical split_size: Fixed: 2 run: plugin: status-bar ``` closes #551, closes #284
2021-07-02 19:44:36 +03:00
run
:
plugin
:
tab-bar
Add layout to disable the status-bar
2021-05-31 21:28:14 +03:00
-
direction
:
Vertical
Reference in New Issue
Copy Permalink