Closed FahimAnayet closed 11 months ago
Hey, you can achieve this by editing the layout file. Here's an example.
default_tab_template {
pane size=1 borderless=true {
plugin location="file:../target/wasm32-wasi/debug/zjstatus.wasm" {
format_left "{mode}{tabs}"
format_right "#[fg=#83a598,bold]{session} #[fg=#b8bb26,bold]{swap_layout}"
mode_normal "#[fg=#b8bb26,bold]{name}"
mode_locked "#[fg=#fb4934,bold]{name}"
mode_resize "#[fg=#fabd2f,bold]{name}"
mode_pane "#[fg=#d3869b,bold]{name}"
mode_tab "#[fg=#83a598,bold]{name}"
mode_scroll "#[fg=#8ec07c,bold]{name}"
mode_session "#[fg=#fe8019,bold]{name}"
mode_move "#[fg=#a89984,bold]{name}"
tab_normal "#[fg=#a89984,bold] {name}"
tab_active "#[fg=#83a598,bold] {name}"
}
}
children
}
Notice the order of the plugin
and children
.
Oh! I remember now! I got it. Thanks for the quick response.
It would be nice if this was documented in the wiki.
First of all thanks for this plugin. This is quite good for me, but how can I move the status bar at top?