diff --git a/config.kdl b/config.kdl index 09cc525..544eb64 100644 --- a/config.kdl +++ b/config.kdl @@ -1,5 +1,6 @@ scrollback_editor "/usr/local/bin/nvim" theme "vscode_dark_modern" +default_layout "default" keybinds { normal clear-defaults=true { @@ -8,6 +9,7 @@ keybinds { bind "Alt q" { Quit; } bind "Alt d" { Detach; } + bind "Alt n" { NewPane; } bind "Alt s" { NewPane "Down"; } bind "Alt v" { NewPane "Right"; } bind "Alt c" { NewTab; } @@ -15,6 +17,8 @@ keybinds { bind "Alt f" { ToggleFloatingPanes; } bind "Alt e" { TogglePaneEmbedOrFloating; } + bind "Alt S" { NewPane "stacked"; } + bind "Alt H" { MovePane "Left"; } bind "Alt J" { MovePane "Down"; } bind "Alt K" { MovePane "Up"; } @@ -67,4 +71,3 @@ keybinds { } } - diff --git a/layouts/default.kdl b/layouts/default.kdl new file mode 100644 index 0000000..b7c25a3 --- /dev/null +++ b/layouts/default.kdl @@ -0,0 +1,28 @@ +layout { + pane split_direction="vertical" { + pane + } + + pane size=1 borderless=true { + plugin location="file:/home/christopherwilliams/.config/zellij/plugins/zjstatus.wasm" { + format_left "{mode}#[fg=black,bg=blue,bold]{session} #[fg=blue,bg=#181825]{tabs}" + format_right "#[fg=#181825,bg=#b1bbfa]{datetime}" + format_space "#[bg=#181825]" + + hide_frame_for_single_pane "true" + + mode_normal "#[bg=blue] " + + 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} <> " + + datetime "#[fg=#6C7086,bg=#b1bbfa,bold] {format} " + datetime_format "%A, %d %b %Y %H:%M" + datetime_timezone "America/New_York" + } + } +} diff --git a/plugins/zjstatus.wasm b/plugins/zjstatus.wasm new file mode 100644 index 0000000..cea126a Binary files /dev/null and b/plugins/zjstatus.wasm differ