Let's try this layout and replace the tab bar after
This commit is contained in:
parent
ea963cff84
commit
0816c57dd9
|
@ -19,6 +19,7 @@
|
||||||
pane size=1 borderless=true {
|
pane size=1 borderless=true {
|
||||||
plugin location="file:${inputs.zjstatus.packages.${pkgs.system}.default}/bin/zjstatus.wasm" {
|
plugin location="file:${inputs.zjstatus.packages.${pkgs.system}.default}/bin/zjstatus.wasm" {
|
||||||
format_left "{mode} #[fg=cyan,bold]{session}"
|
format_left "{mode} #[fg=cyan,bold]{session}"
|
||||||
|
format_center "{tabs}"
|
||||||
format_right "{command_git_branch} {datetime}"
|
format_right "{command_git_branch} {datetime}"
|
||||||
format_space ""
|
format_space ""
|
||||||
|
|
||||||
|
@ -32,8 +33,23 @@
|
||||||
mode_normal "#[bg=blue] "
|
mode_normal "#[bg=blue] "
|
||||||
mode_tmux "#[bg=blue] "
|
mode_tmux "#[bg=blue] "
|
||||||
|
|
||||||
tab_normal "#[fg=green] {name} "
|
// formatting for inactive tabs
|
||||||
tab_active "#[fg=red,bold,italic] {name} "
|
tab_normal "#[fg=green] {index} :: {name} "
|
||||||
|
tab_normal_fullscreen "#[fg=green] {index} :: {name} [] "
|
||||||
|
tab_normal_sync "#[fg=green] {index} :: {name} <> "
|
||||||
|
|
||||||
|
// formatting for the current active tab
|
||||||
|
tab_active "#[fg=blue,bold,italic] {name} {floating_indicator}"
|
||||||
|
tab_active_fullscreen "#[fg=blue,bold,italic] {name} {fullscreen_indicator}"
|
||||||
|
tab_active_sync "#[fg=blue,bold,italic] {name} {sync_indicator}"
|
||||||
|
|
||||||
|
// separator between the tabs
|
||||||
|
tab_separator "#[fg=green,bg=orange] | "
|
||||||
|
|
||||||
|
// indicators
|
||||||
|
tab_sync_indicator "<> "
|
||||||
|
tab_fullscreen_indicator "[] "
|
||||||
|
tab_floating_indicator "⬚ "
|
||||||
|
|
||||||
command_git_branch_command "git rev-parse --abbrev-ref HEAD"
|
command_git_branch_command "git rev-parse --abbrev-ref HEAD"
|
||||||
command_git_branch_format "#[fg=blue] {stdout} "
|
command_git_branch_format "#[fg=blue] {stdout} "
|
||||||
|
|
Loading…
Reference in a new issue