mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-10-17 20:52:40 +00:00
Update Zellij layouts
This commit is contained in:
parent
ec985935fd
commit
5c3985283a
8 changed files with 119 additions and 20 deletions
|
@ -11,7 +11,7 @@ layout {
|
|||
tab name="git" {
|
||||
pane {
|
||||
command "fish"
|
||||
args "-c" "gu"
|
||||
args "-c" "gitui"
|
||||
close_on_exit true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,22 +5,4 @@ layout {
|
|||
plugin location="zellij:compact-bar"
|
||||
}
|
||||
}
|
||||
|
||||
swap_tiled_layout name="vertical" {
|
||||
tab max_panes=6 {
|
||||
pane split_direction="vertical" {
|
||||
pane
|
||||
pane { children; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
swap_tiled_layout name="stacked" {
|
||||
tab {
|
||||
pane split_direction="vertical" {
|
||||
pane
|
||||
pane stacked=true { children; }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
20
.config/zellij/layouts/default.swap.kdl
Normal file
20
.config/zellij/layouts/default.swap.kdl
Normal file
|
@ -0,0 +1,20 @@
|
|||
swap_tiled_layout name="vertical" {
|
||||
tab max_panes=5 {
|
||||
pane split_direction="vertical" {
|
||||
pane
|
||||
pane { children; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
swap_tiled_layout name="stacked" {
|
||||
tab {
|
||||
pane split_direction="vertical" {
|
||||
pane
|
||||
pane {
|
||||
pane
|
||||
pane stacked=true { children; }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -11,7 +11,7 @@ layout {
|
|||
tab name="git" {
|
||||
pane {
|
||||
command "fish"
|
||||
args "-c" "gu"
|
||||
args "-c" "gitui"
|
||||
close_on_exit true
|
||||
}
|
||||
}
|
||||
|
|
50
.config/zellij/layouts/oxiform.kdl
Normal file
50
.config/zellij/layouts/oxiform.kdl
Normal file
|
@ -0,0 +1,50 @@
|
|||
layout {
|
||||
default_tab_template {
|
||||
children
|
||||
pane size=1 borderless=true {
|
||||
plugin location="zellij:compact-bar"
|
||||
}
|
||||
}
|
||||
|
||||
cwd "/home/mo/code/hosted/oxiform"
|
||||
|
||||
tab name="hx" split_direction="vertical" focus=true {
|
||||
pane {
|
||||
focus true
|
||||
command "fish"
|
||||
args "-C" "hx src/main.rs"
|
||||
close_on_exit true
|
||||
}
|
||||
pane {
|
||||
command "fish"
|
||||
args "-C" "bacon"
|
||||
close_on_exit true
|
||||
}
|
||||
}
|
||||
tab name="git" split_direction="vertical" {
|
||||
pane {
|
||||
command "fish"
|
||||
args "-C" "gitui"
|
||||
close_on_exit true
|
||||
}
|
||||
}
|
||||
tab name="bg" split_direction="vertical"{
|
||||
pane {
|
||||
command "fish"
|
||||
args "-C" "podman run -it --rm -p 5432:5432 --env-file .env docker.io/library/postgres:15-alpine"
|
||||
close_on_exit true
|
||||
}
|
||||
pane {
|
||||
command "fish"
|
||||
args "-C" "npx tailwindcss -mw -i input.css -o static/main.css"
|
||||
close_on_exit true
|
||||
}
|
||||
}
|
||||
tab name="run" split_direction="vertical" {
|
||||
pane {
|
||||
command "fish"
|
||||
close_on_exit true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
1
.config/zellij/layouts/oxiform.swap.kdl
Symbolic link
1
.config/zellij/layouts/oxiform.swap.kdl
Symbolic link
|
@ -0,0 +1 @@
|
|||
/var/home/mo/.dotfiles/.config/zellij/layouts/default.swap.kdl
|
45
.config/zellij/layouts/website.kdl
Normal file
45
.config/zellij/layouts/website.kdl
Normal file
|
@ -0,0 +1,45 @@
|
|||
layout {
|
||||
default_tab_template {
|
||||
children
|
||||
pane size=1 borderless=true {
|
||||
plugin location="zellij:compact-bar"
|
||||
}
|
||||
}
|
||||
|
||||
cwd "/home/mo/code/hosted/mo8it.com"
|
||||
|
||||
tab name="hx" split_direction="vertical" focus=true {
|
||||
pane {
|
||||
focus true
|
||||
command "fish"
|
||||
args "-C" "hx"
|
||||
close_on_exit true
|
||||
}
|
||||
}
|
||||
tab name="git" split_direction="vertical" {
|
||||
pane {
|
||||
command "fish"
|
||||
args "-C" "gitui"
|
||||
close_on_exit true
|
||||
}
|
||||
}
|
||||
tab name="bg" split_direction="vertical"{
|
||||
pane {
|
||||
command "fish"
|
||||
args "-C" "zola serve"
|
||||
close_on_exit true
|
||||
}
|
||||
pane {
|
||||
command "fish"
|
||||
args "-C" "npx tailwindcss -mw -i input.css -o static/main.css"
|
||||
close_on_exit true
|
||||
}
|
||||
}
|
||||
tab name="run" split_direction="vertical" {
|
||||
pane {
|
||||
command "fish"
|
||||
close_on_exit true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
1
.config/zellij/layouts/website.swap.kdl
Symbolic link
1
.config/zellij/layouts/website.swap.kdl
Symbolic link
|
@ -0,0 +1 @@
|
|||
/var/home/mo/.dotfiles/.config/zellij/layouts/default.swap.kdl
|
Loading…
Reference in a new issue