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.

85 lines
3.7 KiB
Cheetah

scroll_buffer_size 10000
copy_command "wl-copy"
auto_layout false
10 months ago
layout {
default_tab_template {
children
pane size=1 borderless=true {
plugin location="https://github.com/dj95/zjstatus/releases/latest/download/zjstatus.wasm" {
format_left "{mode}#[fg=#181825,bg=#4b0082]{command_pwd}#[fg=#4b0082,bg=blue]{command_git_branch}#[fg=blue,bg=#181825]{tabs}"
format_right "{command_cpuusage}#[fg=cyan,bg=green]{command_memusage}#[fg=green,bg=#b1bbfa]{datetime}"
format_center "{command_notify}"
format_space "#[bg=#181825]"
hide_frame_for_single_pane "true"
tab_normal "#[fg=#181825,bg=#4C4C59] #[fg=#000000,bg=#4C4C59]{index}  {name} #[fg=#4C4C59,bg=#181825]"
tab_normal_fullscreen "#[fg=#6C7086,bg=#181825] {index} {name} [] "
tab_normal_sync "#[fg=#6C7086,bg=#181825] {index} {name} <> "
tab_active "#[fg=#181825,bg=#ffffff,bold,italic] {index} {name} #[fg=#ffffff,bg=#181825]"
tab_active_fullscreen "#[fg=#9399B2,bg=#181825,bold,italic] {index} {name} [] "
tab_active_sync "#[fg=#9399B2,bg=#181825,bold,italic] {index} {name} <> "
command_git_branch_command "git rev-parse --abbrev-ref HEAD"
command_git_branch_format "#[fg=#181825,bg=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=#ffffff,bg=#4b0082] {stdout} "
command_pwd_interval "1"
command_pwd_rendermode "static"
command_cpuusage_command "nu -c 'sys | get cpu | get cpu_usage | math avg | math round -p 2 | $\"($in) %\"'"
command_cpuusage_format "#[fg=#181825,bg=cyan] {stdout} "
command_cpuusage_interval "10"
command_cpuusage_rendermode "static"
command_memusage_command "nu -c 'sys | get mem.used'"
command_memusage_format "#[fg=#181825,bg=green] {stdout} "
command_memusage_interval "10"
command_memusage_rendermode "static"
command_notify_command "nu -c \"use ide.nu; ide last-notification\""
command_notify_format "{stdout}"
command_notify_interval "5"
command_notify_rendermode "static"
datetime "#[fg=#181825,bg=#b1bbfa] {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 {
name "Files"
size "15%"
command "nu"
10 months ago
args "-c" "broot --conf {{dirs.config}}/broot/ide.toml --sort-by-type-dirs-first"
}
pane borderless=true{
name "Editor"
command "nu"
size "55%"
10 months ago
args "-c helix"
}
pane {
name "Terminal"
size "30%"
command "nu"
args "-e" "clear; onefetch --no-art --no-color-palette --text-colors 7 10 11 12 7 15 --type programming markup prose data"
10 months ago
}
}
}
}
keybinds {
normal {
bind "Ctrl f" { ToggleFocusFullscreen; }
bind "Alt p" { Run "nu" "-c" "use ide.nu; ide floating-prompt"; }
}
}