1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-04 23:40:32 +00:00

Add zellij layouts

This commit is contained in:
Mo 2022-09-24 15:24:37 +02:00
parent 0b8913458f
commit 278af2f184
3 changed files with 133 additions and 0 deletions

View file

@ -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"],
}

View file

@ -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"] }

View file

@ -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"] }