|
|
|
@ -1,41 +1,34 @@
|
|
|
|
|
scroll_buffer_size 10000
|
|
|
|
|
copy_command "wl-copy"
|
|
|
|
|
auto_layout false
|
|
|
|
|
|
|
|
|
|
layout {
|
|
|
|
|
default_tab_template {
|
|
|
|
|
children
|
|
|
|
|
pane size=1 borderless=true {
|
|
|
|
|
plugin location="https://github.com/dj95/zjstatus/releases/latest/download/zjstatus.wasm" {
|
|
|
|
|
format_left "{command_lpl}{tabs}"
|
|
|
|
|
format_right "{command_rpl}"
|
|
|
|
|
format_left "{command_lpl}{tabs}"
|
|
|
|
|
format_right "{command_rpl}"
|
|
|
|
|
format_center "{command_notify}"
|
|
|
|
|
format_space ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_notify_command "nu --no-newline -c \"use ide.nu; ide last-notification\""
|
|
|
|
|
command_notify_format "{stdout}"
|
|
|
|
|
format_space ""
|
|
|
|
|
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_notify_command "nu --no-newline -c \"use ide.nu; ide last-notification\""
|
|
|
|
|
command_notify_format "{stdout}"
|
|
|
|
|
command_notify_interval "1"
|
|
|
|
|
command_notify_rendermode "raw"
|
|
|
|
|
|
|
|
|
|
command_lpl_command "nu --no-newline -c \"use ide.nu; ide zjstatus powerline_left\""
|
|
|
|
|
command_lpl_format "{stdout}"
|
|
|
|
|
command_lpl_command "nu --no-newline -c \"use ide.nu; ide zjstatus powerline_left\""
|
|
|
|
|
command_lpl_format "{stdout}"
|
|
|
|
|
command_lpl_interval "1"
|
|
|
|
|
command_lpl_rendermode "raw"
|
|
|
|
|
|
|
|
|
|
command_rpl_command "nu --no-newline -c \"use ide.nu; ide zjstatus powerline_right\""
|
|
|
|
|
command_rpl_format "{stdout}"
|
|
|
|
|
command_rpl_command "nu --no-newline -c \"use ide.nu; ide zjstatus powerline_right\""
|
|
|
|
|
command_rpl_format "{stdout}"
|
|
|
|
|
command_rpl_interval "2"
|
|
|
|
|
command_rpl_rendermode "raw"
|
|
|
|
|
|
|
|
|
|
datetime "#[fg=#181825,bg=#b1bbfa] {format} "
|
|
|
|
|
datetime "#[fg=#181825,bg=#b1bbfa] {format} "
|
|
|
|
|
datetime_format "%A, %d %b %Y %H:%M"
|
|
|
|
|
datetime_timezone "Europe/Berlin"
|
|
|
|
|
}
|
|
|
|
@ -49,11 +42,15 @@ layout {
|
|
|
|
|
command "nu"
|
|
|
|
|
args "-c" "broot --conf {{dirs.config}}/broot/ide.toml --sort-by-type-dirs-first"
|
|
|
|
|
}
|
|
|
|
|
pane borderless=true{
|
|
|
|
|
pane borderless=true {
|
|
|
|
|
name "Editor"
|
|
|
|
|
command "nu"
|
|
|
|
|
size "55%"
|
|
|
|
|
{{#if (eq ctx.environment "unitb")}}
|
|
|
|
|
args "-c hx"
|
|
|
|
|
{{else}}
|
|
|
|
|
args "-c helix"
|
|
|
|
|
{{/if}}
|
|
|
|
|
}
|
|
|
|
|
pane {
|
|
|
|
|
name "Terminal"
|
|
|
|
@ -64,17 +61,35 @@ layout {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
keybinds {
|
|
|
|
|
normal {
|
|
|
|
|
bind "Ctrl f" { ToggleFocusFullscreen; }
|
|
|
|
|
bind "Alt p" { Run "nu" "-c" "use ide.nu; ide floating-prompt"; }
|
|
|
|
|
}
|
|
|
|
|
unbind "Alt n"
|
|
|
|
|
unbind "Alt o"
|
|
|
|
|
unbind "Alt i"
|
|
|
|
|
unbind "Alt U"
|
|
|
|
|
unbind "Alt u"
|
|
|
|
|
unbind "Alt I"
|
|
|
|
|
unbind "Alt a"
|
|
|
|
|
|
|
|
|
|
bind "Ctrl f" {
|
|
|
|
|
ToggleFocusFullscreen
|
|
|
|
|
}
|
|
|
|
|
bind "Alt P" {
|
|
|
|
|
Run "nu" "-c" "use ide.nu; ide floating-prompt"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
shared_except "locked" {
|
|
|
|
|
bind "Alt h" "Alt Left" { MoveFocus "Left"; }
|
|
|
|
|
bind "Alt l" "Alt Right" { MoveFocus "Right"; }
|
|
|
|
|
bind "Alt j" "Alt Down" { MoveFocus "Down"; }
|
|
|
|
|
bind "Alt k" "Alt Up" { MoveFocus "Up"; }
|
|
|
|
|
bind "Alt h" "Alt Left" {
|
|
|
|
|
MoveFocus "Left"
|
|
|
|
|
}
|
|
|
|
|
bind "Alt l" "Alt Right" {
|
|
|
|
|
MoveFocus "Right"
|
|
|
|
|
}
|
|
|
|
|
bind "Alt j" "Alt Down" {
|
|
|
|
|
MoveFocus "Down"
|
|
|
|
|
}
|
|
|
|
|
bind "Alt k" "Alt Up" {
|
|
|
|
|
MoveFocus "Up"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|