diff --git a/zellij/files/config.kdl b/zellij/files/config.kdl index 6dcec42..cf84274 100644 --- a/zellij/files/config.kdl +++ b/zellij/files/config.kdl @@ -250,9 +250,9 @@ keybinds clear-defaults=true { // changing these requires a restart to take effect plugins { about location="zellij:about" -compact-bar location="zellij:compact-bar" { // replace it with these lines - tooltip "F1" // choose a keybinding to toggle the hints -} + compact-bar location="zellij:compact-bar" { + tooltip "F1" + } configuration location="zellij:configuration" filepicker location="zellij:strider" { cwd "/" diff --git a/zellij/files/layouts/dev.kdl b/zellij/files/layouts/dev.kdl new file mode 100644 index 0000000..cb0b53a --- /dev/null +++ b/zellij/files/layouts/dev.kdl @@ -0,0 +1,28 @@ +layout { + default_tab_template { + children + pane size=1 borderless=true { + plugin location="zellij:compact-bar" + } + } + + tab name="dotfiles" cwd="/home/thomasgl/.dotfiles" { + pane split_direction="vertical" { + pane stacked=true { + pane + pane command="nvim" + } + pane size="30%" command="pi" + } + } + + tab name="NixOS" cwd="/home/thomasgl/etc/nixos" { + pane split_direction="vertical" { + pane stacked=true { + pane + pane command="nvim" + } + pane size="30%" command="pi" + } + } +} diff --git a/zellij/files/layouts/dotfiles.kdl b/zellij/files/layouts/dotfiles.kdl new file mode 100644 index 0000000..5a9fc3d --- /dev/null +++ b/zellij/files/layouts/dotfiles.kdl @@ -0,0 +1,13 @@ +layout { + cwd "/home/thomasgl/.dotfiles" + pane split_direction="vertical" { + pane stacked=true { + pane + pane command="nvim" + } + pane size="30%" command="pi" + } + pane size=1 borderless=true { + plugin location="zellij:compact-bar" + } +} diff --git a/zellij/files/layouts/nixos.kdl b/zellij/files/layouts/nixos.kdl new file mode 100644 index 0000000..3876dea --- /dev/null +++ b/zellij/files/layouts/nixos.kdl @@ -0,0 +1,13 @@ +layout { + cwd "/home/thomasgl/etc/nixos" + pane split_direction="vertical" { + pane stacked=true { + pane + pane command="nvim" + } + pane size="30%" command="pi" + } + pane size=1 borderless=true { + plugin location="zellij:compact-bar" + } +}