mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-12-04 23:40:32 +00:00
Compare commits
5 commits
91bc2ac594
...
42841386cc
Author | SHA1 | Date | |
---|---|---|---|
42841386cc | |||
47a6b92238 | |||
86ed3d6749 | |||
a47f15aa88 | |||
8107f473c5 |
5 changed files with 82 additions and 3 deletions
|
@ -1,11 +1,12 @@
|
|||
shell /home/mo/.cargo/bin/zellij a -c --index 0
|
||||
#shell fish
|
||||
|
||||
scrollback_lines 100000
|
||||
|
||||
hide_window_decorations yes
|
||||
|
||||
font_family JetBrainsMono Nerd Font Mono
|
||||
font_size 12.5
|
||||
font_size 12.0
|
||||
|
||||
enable_audio_bell no
|
||||
|
||||
|
|
|
@ -72,7 +72,6 @@ local null_ls = require("null-ls")
|
|||
null_ls.setup({
|
||||
sources = {
|
||||
null_ls.builtins.diagnostics.fish,
|
||||
null_ls.builtins.diagnostics.yamllint,
|
||||
null_ls.builtins.formatting.beautysh,
|
||||
null_ls.builtins.formatting.black,
|
||||
null_ls.builtins.formatting.djhtml,
|
||||
|
|
|
@ -44,7 +44,7 @@ keybinds:
|
|||
key: [Alt: "D"]
|
||||
locked:
|
||||
- action: [SwitchToMode: Normal]
|
||||
key: [Alt: "l"]
|
||||
key: [Alt: "L"]
|
||||
resize:
|
||||
- action: [SwitchToMode: Normal]
|
||||
key: [Char: "\n", Esc]
|
||||
|
|
49
.config/zellij/layouts/advlabdb.yml
Normal file
49
.config/zellij/layouts/advlabdb.yml
Normal file
|
@ -0,0 +1,49 @@
|
|||
---
|
||||
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/advlabdb && lazygit"] }
|
||||
- direction: Vertical
|
||||
name: "nvim"
|
||||
focus: true
|
||||
parts:
|
||||
- direction: Vertical
|
||||
run:
|
||||
command: { cmd: fish, args: ["-C", "cd ~/code/advlabdb && nvim"] }
|
||||
- direction: Vertical
|
||||
name: "run"
|
||||
parts:
|
||||
- direction: Vertical
|
||||
run:
|
||||
command:
|
||||
{
|
||||
cmd: fish,
|
||||
args:
|
||||
[
|
||||
"-C",
|
||||
"cd ~/code/advlabdb && poetry run ./run.py; poetry shell",
|
||||
],
|
||||
}
|
30
.config/zellij/layouts/update.yml
Normal file
30
.config/zellij/layouts/update.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
session:
|
||||
name: "update"
|
||||
attach: true
|
||||
|
||||
tabs:
|
||||
- direction: Horizontal
|
||||
parts:
|
||||
- direction: Horizontal
|
||||
run:
|
||||
command:
|
||||
{ cmd: fish, args: ["-c", "~/.scripts/update.py rpm-ostree"] }
|
||||
- direction: Horizontal
|
||||
focus: true
|
||||
run:
|
||||
command: { cmd: fish, args: ["-c", "~/.scripts/update.py flatpak"] }
|
||||
- direction: Horizontal
|
||||
run:
|
||||
command: { cmd: fish, args: ["-c", "~/.scripts/update.py cargo"] }
|
||||
- direction: Horizontal
|
||||
run:
|
||||
command:
|
||||
{
|
||||
cmd: fish,
|
||||
args:
|
||||
[
|
||||
"-c",
|
||||
"cd ~/servers/ansible && ansible-playbook playbooks/update.yml; read -P Enter",
|
||||
],
|
||||
}
|
Loading…
Reference in a new issue