let's see if this works to show the plugin

This commit is contained in:
Lillian Violet 2024-05-02 14:13:20 +02:00
parent 746b9dea57
commit 54b8fa474c

View file

@ -7,48 +7,45 @@
layout =
pkgs.writeText "default.kdl"
''
layout {
pane size=1 borderless=true {
plugin location="tab-bar"
}
pane
pane size=2 borderless=true {
plugin location="status-bar"
}
default_tab_template {
children
pane size=1 borderless=false {
plugin location="file:${inputs.zjstatus.packages.${pkgs.system}.default}/bin/zjstatus.wasm" {
format_left "{mode} #[fg=cyan,bold]{session}"
format_center "{tabs}"
format_right "{command_git_branch} {datetime}"
format_space ""
border_enabled "true"
border_char ""
border_format "#[fg=green]{char}"
border_position "top"
hide_frame_for_single_pane "false"
mode_normal "#[bg=blue] "
mode_tmux "#[bg=blue] "
tab_normal "#[fg=green] {name} "
tab_active "#[fg=red,bold,italic] {name} "
command_git_branch_command "git rev-parse --abbrev-ref HEAD"
command_git_branch_format "#[fg=blue] {stdout} "
command_git_branch_interval "10"
command_git_branch_rendermode "static"
datetime "#[fg=#green,bold] {format} "
datetime_format "%Y-%M-%d %H:%M"
datetime_timezone "Europe/Amsterdam"
}
}
layout {
pane size=1 borderless=true {
plugin location="tab-bar"
}
pane size=2 borderless=true {
plugin location="status-bar"
}
pane size=1 borderless=false {
plugin location="file:${inputs.zjstatus.packages.${pkgs.system}.default}/bin/zjstatus.wasm" {
format_left "{mode} #[fg=cyan,bold]{session}"
format_center "{tabs}"
format_right "{command_git_branch} {datetime}"
format_space ""
border_enabled "true"
border_char ""
border_format "#[fg=green]{char}"
border_position "top"
hide_frame_for_single_pane "false"
mode_normal "#[bg=blue] "
mode_tmux "#[bg=blue] "
tab_normal "#[fg=green] {name} "
tab_active "#[fg=red,bold,italic] {name} "
command_git_branch_command "git rev-parse --abbrev-ref HEAD"
command_git_branch_format "#[fg=blue] {stdout} "
command_git_branch_interval "10"
command_git_branch_rendermode "static"
datetime "#[fg=#green,bold] {format} "
datetime_format "%Y-%M-%d %H:%M"
datetime_timezone "Europe/Amsterdam"
}
}
}
'';
in {