Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/casonadams/z-tab-bar
zellij tmux stlye tab bar plugin
https://github.com/casonadams/z-tab-bar
Last synced: about 2 months ago
JSON representation
zellij tmux stlye tab bar plugin
- Host: GitHub
- URL: https://github.com/casonadams/z-tab-bar
- Owner: casonadams
- Created: 2022-02-25T21:02:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-08T06:37:33.000Z (over 1 year ago)
- Last Synced: 2024-06-18T06:34:57.086Z (3 months ago)
- Language: Rust
- Size: 42 KB
- Stars: 34
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# z-tab-bar
zellij tab-bar plugin that is similar to tmux default status line
## building
```sh
cargo build --release
```## usage
### setup
- Create a common place for plugins
```sh
mkdir -p ~/.config/zellij/plugins
```- Update `~/.config/zellij/layouts/default.yaml`
- **NOTE** HOME needs to be the full path for now
```kdl
// ~/.config/zellij/config.kdldefault_layout "z-tab-bar"
plugins {
tab-bar { path "tab-bar"; }
z-tab-bar { path "$HOME/.config/zellij/plugins/z-tab-bar"; }
status-bar { path "status-bar"; }
strider { path "strider"; }
compact-bar { path "compact-bar"; }
}
``````kdl
// ~/.config/zellij/themes/z-tab-bar.kdl
layout {
pane
pane size=1 borderless=true {
plugin location="zellij:z-tab-bar"
}
}
session_name "0"
attach_to_session true
```- Suggested theme
```kdl
// ~/.config/zellij/themes/default.kdl
themes {
default {
fg 7
bg 24
black 0
red 1
green 2
yellow 3
blue 4
magenta 5
cyan 6
white 7
orange 208
}
}
```- Copy complied plugin to the plugins directory
```sh
cp target/wasm32-wasi/release/z-tab-bar.wasm ~/.config/zellij/plugins
```## roadmap
- [ ] config driven options for colors
- [ ] config driven options to customize statusline (hostname, time, etc)