zellij tab-bar plugin that is similar to tmux default status line
cargo build --release
- Create a common place for plugins
mkdir -p ~/.zellij/plugins
-
Update
~/.config/zellij/layouts/default.yaml
-
NOTE USER_HOME needs to be the full path for now
---
template:
direction: Horizontal
parts:
- direction: Vertical
body: true
- direction: Vertical
borderless: true
split_size:
Fixed: 1
run:
plugin:
location: "file:USER_HOME/.zellij/plugins/z-tab-bar.wasm"
session:
name: "0"
attach: true
- Suggested theme
themes:
default:
fg: 7
bg: 24
black: 0 # tab-bar foreground color
red: 1
green: 2 # tab-bar background color
yellow: 3
blue: 4
magenta: 5
cyan: 6
white: 7
orange: 208
gray: 247
- Copy complied plugin to the plugins directory
cp target/wasm32-wasi/release/z-tab-bar.wasm ~/.zellij/plugins
- config driven options for colors
- config driven options to customize statusline (hostname, time, etc)