You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
2.5 KiB
Cheetah

scroll_buffer_size 10000
copy_command "wl-copy"
auto_layout false
10 months ago
layout {
default_tab_template {
pane size=1 borderless=true {
plugin location="zellij:tab-bar"
}
children
pane size=1 borderless=true {
plugin location="https://github.com/dj95/zjstatus/releases/latest/download/zjstatus.wasm" {
format_left "#[fg=#6C7086]{command_pwd} [{command_git_branch}]"
format_center "{tabs}"
format_right "{command_cpuusage}#[fg=#6C7086] ∙ {command_memusage}#[fg=#6C7086] | {datetime}"
format_space ""
hide_frame_for_single_pane "true"
tab_normal "#[fg=white,dim] {name} "
tab_active "#[fg=purple,bold] {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"
command_pwd_command "nu -c '$env.PWD | path relative-to $env.HOME'"
command_pwd_format "#[fg=#6C7086,bold]{stdout}"
command_pwd_interval "1"
command_pwd_interval "static"
command_cpuusage_command "nu -c 'sys | get cpu | get cpu_usage | math avg | math round -p 2 | $\"($in) %\"'"
command_cpuusage_format "#[fg=cyan]{stdout}"
command_cpuusage_interval "10"
command_cpuusage_interval "static"
command_memusage_command "nu -c 'sys | get mem.used'"
command_memusage_format "#[fg=green]{stdout}"
command_memusage_interval "10"
command_memusage_interval "static"
datetime "#[fg=#6C7086,bold]{format} "
datetime_format "%A, %d %b %Y %H:%M"
datetime_timezone "Europe/Berlin"
}
10 months ago
}
}
tab name="Editor" split_direction="Vertical" hide_floating_panes=true {
10 months ago
pane split_direction="Vertical" {
pane command="nu" size="15%" {
args "-c" "broot --conf {{dirs.config}}/broot/ide.toml --sort-by-type-dirs-first"
}
pane command="nu" size="55%" {
10 months ago
args "-c helix"
}
pane size="30%" split_direction="Horizontal" {
pane size="100%"
10 months ago
}
}
}
}
keybinds {
normal {
bind "Ctrl f" {ToggleFocusFullscreen;}
}
}