From 278af2f1840cf82f00c4abfc09c46e101e8044ba Mon Sep 17 00:00:00 2001 From: Mo8it Date: Sat, 24 Sep 2022 15:24:37 +0200 Subject: [PATCH] Add zellij layouts --- .config/zellij/layouts/how_to_linux.yml | 53 +++++++++++++++++++++++++ .config/zellij/layouts/pgp.yml | 39 ++++++++++++++++++ .config/zellij/layouts/reco.yml | 41 +++++++++++++++++++ 3 files changed, 133 insertions(+) create mode 100644 .config/zellij/layouts/how_to_linux.yml create mode 100644 .config/zellij/layouts/pgp.yml create mode 100644 .config/zellij/layouts/reco.yml diff --git a/.config/zellij/layouts/how_to_linux.yml b/.config/zellij/layouts/how_to_linux.yml new file mode 100644 index 0000000..25b0661 --- /dev/null +++ b/.config/zellij/layouts/how_to_linux.yml @@ -0,0 +1,53 @@ +--- +template: + direction: Horizontal + parts: + - direction: Vertical + borderless: true + split_size: + Fixed: 1 + run: + plugin: + location: "zellij:tab-bar" + - direction: Vertical + body: true + - direction: Vertical + borderless: true + split_size: + Fixed: 2 + run: + plugin: + location: "zellij:status-bar" + +tabs: + - direction: Vertical + name: "lazygit" + parts: + - direction: Vertical + run: + command: + { + cmd: fish, + args: ["-C", "cd ~/code/hosted/how_to_linux && lazygit"], + } + - direction: Vertical + name: "nvim" + focus: true + parts: + - direction: Vertical + run: + command: + { + cmd: fish, + args: ["-C", "cd ~/code/hosted/how_to_linux/src && nvim"], + } + - direction: Vertical + name: "run" + parts: + - direction: Vertical + run: + command: + { + cmd: fish, + args: ["-C", "cd ~/code/hosted/how_to_linux && mdbook serve"], + } diff --git a/.config/zellij/layouts/pgp.yml b/.config/zellij/layouts/pgp.yml new file mode 100644 index 0000000..6892caa --- /dev/null +++ b/.config/zellij/layouts/pgp.yml @@ -0,0 +1,39 @@ +--- +template: + direction: Horizontal + parts: + - direction: Vertical + borderless: true + split_size: + Fixed: 1 + run: + plugin: + location: "zellij:tab-bar" + - direction: Vertical + body: true + - direction: Vertical + borderless: true + split_size: + Fixed: 2 + run: + plugin: + location: "zellij:status-bar" + +tabs: + - direction: Vertical + name: "jupyterlab" + focus: true + parts: + - direction: Vertical + run: + command: + { + cmd: fish, + args: ["-C", "cd ~/Downloads/pgp && ./container.fish"], + } + - direction: Vertical + name: "shell" + parts: + - direction: Vertical + run: + command: { cmd: fish, args: ["-C", "cd ~/Downloads/pgp"] } diff --git a/.config/zellij/layouts/reco.yml b/.config/zellij/layouts/reco.yml new file mode 100644 index 0000000..c88abd4 --- /dev/null +++ b/.config/zellij/layouts/reco.yml @@ -0,0 +1,41 @@ +--- +template: + direction: Horizontal + parts: + - direction: Vertical + borderless: true + split_size: + Fixed: 1 + run: + plugin: + location: "zellij:tab-bar" + - direction: Vertical + body: true + - direction: Vertical + borderless: true + split_size: + Fixed: 2 + run: + plugin: + location: "zellij:status-bar" + +tabs: + - direction: Vertical + name: "lazygit" + parts: + - direction: Vertical + run: + command: { cmd: fish, args: ["-C", "cd ~/code/ReCo.jl && lazygit"] } + - direction: Vertical + name: "nvim" + focus: true + parts: + - direction: Vertical + run: + command: { cmd: fish, args: ["-C", "cd ~/code/ReCo.jl && nvim"] } + - direction: Vertical + name: "run" + parts: + - direction: Vertical + run: + command: { cmd: fish, args: ["-C", "cd ~/code/ReCo.jl && julia"] }