dj95 / zjstatus

A configurable statusbar plugin for zellij
MIT License
358 stars 6 forks source link

Ability to add space between the tab items 💅 #35

Closed bphenriques closed 5 months ago

bphenriques commented 5 months ago

Is your feature request related to a problem? Please describe. Thank you for the plugin! This helped me migrating my visuals from tmux to zellij. I pretty much liked it and worked for me. It isn't something fancy.

image

However, in order to have separators I had to include an extra spacing with no formatting (nix code):

      tab_normal   "#[fg=${yellow}] {index} #[fg=${brightWhite}] {name} #[] "
      tab_active   "#[bg=${yellow},fg=${black}] {index} #[bg=${brightBlack},fg=${white}] {name} #[] "

Notice how it ends with $[] ".

Describe the solution you'd like To make intent more clear, adding a tab_separator perhaps that defaults to empty String and allows, in my case, to set to .

Additional context I have other enhancements that I will track separately.

dj95 commented 5 months ago

Hey,

thanks a lot for the suggestion. I've implemented the feature and it will be included in the next release.