Open Jazztache opened 1 month ago
There is no option like this.
But zjstatus (the status-bar imsnif recommended to you on the other thread) has a config for that. I talked to its maintainer, and they can see it being also exposed on a specific plugin. So people wanting only this functionality would be able to have it without overriding the default bars.
But in 0.40.1 it needs quite a few hacks. So it will be for next version (that had a lot of the required API for background plugins).
It will be great
But as an alternative you can still be able to do it this way by not using templates
layout {
tab name="1" {
pane size=1 borderless=true { plugin location="tab-bar"; }
pane borderless=true {}
pane size=1 borderless=true { plugin location="status-bar"; }
}
tab name="2" {
pane size=1 borderless=true { plugin location="tab-bar"; }
pane borderless=true {}
pane size=1 borderless=true { plugin location="status-bar"; }
}
tab name="3" {
pane size=1 borderless=true { plugin location="tab-bar"; }
pane borderless=true {}
pane size=1 borderless=true { plugin location="status-bar"; }
}
tab name="4" {
pane size=1 borderless=true { plugin location="tab-bar"; }
pane borderless=true {}
pane size=1 borderless=true { plugin location="status-bar"; }
}
}
Hello!
I would really like it if the option for auto-hiding borders was added to Zellij. This feature would hide the border based on the user's preferences.
This is an update to the existing pane_frames option. I got this idea because I wish the borders would turn off when there is one pane.
The setting would be a new suboption of
ui.pane_frames
, as to not conflict with the pane_frames [bool] option.The options would be:
never
makes panes bordered/divided always, based on the pane_frames bool. Zellij already has this.always
removes borders/dividers no matter what. Fill the space where the border was, allowing panes to be flush with each other for maximum space.single-pane
hides all borders and dividers if there is a single pane.The main reason for this suggestion is the
single-pane
feature. The use for this would be to let apps have two extra spaces of breathing room and have less visual clutter when using Zellij with one pane. Then when you need a second pane, the borders come back. This is also great if you mainly use Zellij for the tab bar and only need a pane for a quick command.The option should be set out like so:
Thankyou for your consideration!