mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-10-17 20:52:40 +00:00
Use nu in zellij
This commit is contained in:
parent
1ef1937284
commit
b5a171a816
6 changed files with 29 additions and 30 deletions
|
@ -1,11 +1,10 @@
|
||||||
pane_frames false
|
|
||||||
default_layout "compact"
|
default_layout "compact"
|
||||||
|
|
||||||
scroll_buffer_size 100000
|
scroll_buffer_size 100000
|
||||||
|
|
||||||
copy_on_select true
|
copy_on_select true
|
||||||
|
|
||||||
default_shell "/usr/bin/fish"
|
default_shell "/home/mo/.cargo/bin/nu"
|
||||||
scrollback_editor "/home/mo/bin/nvim/bin/nvim"
|
scrollback_editor "/home/mo/bin/nvim/bin/nvim"
|
||||||
|
|
||||||
keybinds clear-defaults=true {
|
keybinds clear-defaults=true {
|
||||||
|
|
|
@ -10,26 +10,26 @@ layout {
|
||||||
|
|
||||||
tab name="lazygit" {
|
tab name="lazygit" {
|
||||||
pane {
|
pane {
|
||||||
command "fish"
|
command "nu"
|
||||||
args "-C" "lazygit"
|
args "-e" "lazygit"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tab name="nvim" focus=true {
|
tab name="nvim" focus=true {
|
||||||
pane {
|
pane {
|
||||||
command "fish"
|
command "nu"
|
||||||
args "-C" "nvim"
|
args "-e" "nvim"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tab name="run" {
|
tab name="run" {
|
||||||
pane {
|
pane {
|
||||||
command "fish"
|
command "nu"
|
||||||
args "-C" "poetry run ./run.py"
|
args "-e" "poetry run ./run.py"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tab name="tasks" {
|
tab name="tasks" {
|
||||||
pane {
|
pane {
|
||||||
command "fish"
|
command "nu"
|
||||||
args "-C" "nohup xdg-open http://localhost:5000 &> /dev/null; vp advlabdb"
|
args "-e" "nohup xdg-open http://localhost:5000 &> /dev/null; vp advlabdb"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,27 +10,27 @@ layout {
|
||||||
|
|
||||||
tab name="lazygit" {
|
tab name="lazygit" {
|
||||||
pane {
|
pane {
|
||||||
command "fish"
|
command "nu"
|
||||||
args "-C" "lazygit"
|
args "-e" "lazygit"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tab name="nvim" focus=true {
|
tab name="nvim" focus=true {
|
||||||
pane {
|
pane {
|
||||||
cwd "src"
|
cwd "src"
|
||||||
command "fish"
|
command "nu"
|
||||||
args "-C" "nvim"
|
args "-e" "nvim"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tab name="mdbook" {
|
tab name="mdbook" {
|
||||||
pane {
|
pane {
|
||||||
command "fish"
|
command "nu"
|
||||||
args "-C" "mdbook serve"
|
args "-e" "mdbook serve"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tab name="test" {
|
tab name="test" {
|
||||||
pane {
|
pane {
|
||||||
command "fish"
|
command "nu"
|
||||||
args "-C" "sleep 1 && nohup xdg-open http://localhost:3000 &> /dev/null"
|
args "-e" "sleep 1 && nohup xdg-open http://localhost:3000 &> /dev/null"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,8 +10,8 @@ layout {
|
||||||
|
|
||||||
tab name="jupyterlab" focus=true {
|
tab name="jupyterlab" focus=true {
|
||||||
pane {
|
pane {
|
||||||
command "fish"
|
command "nu"
|
||||||
args "-C" "./container.fish"
|
args "-e" "./container.nu"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tab name="shell" {
|
tab name="shell" {
|
||||||
|
|
|
@ -10,20 +10,20 @@ layout {
|
||||||
|
|
||||||
tab name="lazygit" {
|
tab name="lazygit" {
|
||||||
pane {
|
pane {
|
||||||
command "fish"
|
command "nu"
|
||||||
args "-C" "lazygit"
|
args "-e" "lazygit"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tab name="nvim" focus=true {
|
tab name="nvim" focus=true {
|
||||||
pane {
|
pane {
|
||||||
command "fish"
|
command "nu"
|
||||||
args "-C" "nvim"
|
args "-e" "nvim"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tab name="run" {
|
tab name="run" {
|
||||||
pane {
|
pane {
|
||||||
command "fish"
|
command "nu"
|
||||||
args "-C" "julia scripts/update.jl"
|
args "-e" "julia scripts/update.jl"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
layout {
|
layout {
|
||||||
pane {
|
pane {
|
||||||
command "fish"
|
command "nu"
|
||||||
args "-c" "~/.scripts/update.py rpm-ostree"
|
args "-c" "~/.scripts/update.py rpm-ostree"
|
||||||
}
|
}
|
||||||
pane focus=true {
|
pane focus=true {
|
||||||
command "fish"
|
command "nu"
|
||||||
args "-c" "~/.scripts/update.py flatpak"
|
args "-c" "~/.scripts/update.py flatpak"
|
||||||
}
|
}
|
||||||
pane {
|
pane {
|
||||||
command "fish"
|
command "nu"
|
||||||
args "-c" "~/.scripts/update.py cargo"
|
args "-c" "~/.scripts/update.py cargo"
|
||||||
}
|
}
|
||||||
pane {
|
pane {
|
||||||
cwd "/home/mo/servers/ansible"
|
cwd "/home/mo/servers/ansible"
|
||||||
command "fish"
|
command "nu"
|
||||||
args "-c" "ansible-playbook playbooks/update.yml; read -P Enter"
|
args "-c" "ansible-playbook playbooks/update.yml; read -P Enter"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue