✨ feat(zellij): zellij runner, changes to the new tab template as well as new status bar plugin
This commit is contained in:
parent
e3908d4f6e
commit
ce2a9fca53
7 changed files with 56 additions and 31 deletions
|
@ -12,6 +12,6 @@ function fish_user_key_bindings
|
||||||
bind \e\cw rga-fzf
|
bind \e\cw rga-fzf
|
||||||
bind \e\z cdzi
|
bind \e\z cdzi
|
||||||
bind \e\ci navi
|
bind \e\ci navi
|
||||||
bind \e\cr repos
|
bind \e\cr zellij-runner
|
||||||
bind \e\[Z switch_kitty_tab
|
bind \e\[Z switch_kitty_tab
|
||||||
end
|
end
|
||||||
|
|
|
@ -37,6 +37,12 @@ set -xg EDITOR nvim
|
||||||
set -xg VISUAL $EDITOR
|
set -xg VISUAL $EDITOR
|
||||||
set -xg SUDO_EDITOR $EDITOR
|
set -xg SUDO_EDITOR $EDITOR
|
||||||
|
|
||||||
|
set -xg ZELLIJ_RUNNER_ROOT_DIR Repos
|
||||||
|
set -xg ZELLIJ_RUNNER_IGNORE_DIRS node_modules,target
|
||||||
|
set -xg ZELLIJ_RUNNER_MAX_DIRS_DEPTH 3
|
||||||
|
set -xg ZELLIJ_RUNNER_LAYOUTS_DIR .config/zellij/layouts
|
||||||
|
set -xg ZELLIJ_RUNNER_BANNERS_DIR .config/zellij/banners
|
||||||
|
|
||||||
set -xg GPG_TTY (tty)
|
set -xg GPG_TTY (tty)
|
||||||
set -xg LANG es_ES.UTF-8
|
set -xg LANG es_ES.UTF-8
|
||||||
set -xg LC_ALL es_ES.UTF-8
|
set -xg LC_ALL es_ES.UTF-8
|
||||||
|
|
|
@ -1,18 +1,10 @@
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣄⣠⣀⡀⣀⣠⣤⣤⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
▒███████▒▓█████ ██▓ ██▓ ██▓ ▄▄▄██▀▀▀
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣄⢠⣠⣼⣿⣿⣿⣟⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋⠀⠀⠀⢠⣤⣦⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠰⢦⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
▒ ▒ ▒ ▄▀░▓█ ▀ ▓██▒ ▓██▒ ▓██▒ ▒██
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⣼⣿⣟⣾⣿⣽⣿⣿⣅⠈⠉⠻⣿⣿⣿⣿⣿⡿⠇⠀⠀⠀⠀⠀⠉⠀⠀⠀⠀⠀⢀⡶⠒⢉⡀⢠⣤⣶⣶⣿⣷⣆⣀⡀⠀⢲⣖⠒⠀⠀⠀⠀⠀⠀⠀
|
░ ▒ ▄▀▒░ ▒███ ▒██░ ▒██░ ▒██▒ ░██
|
||||||
⢀⣤⣾⣶⣦⣤⣤⣶⣿⣿⣿⣿⣿⣿⣽⡿⠻⣷⣀⠀⢻⣿⣿⣿⡿⠟⠀⠀⠀⠀⠀⠀⣤⣶⣶⣤⣀⣀⣬⣷⣦⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣦⣤⣦⣼⣀⠀
|
▄▀▒ ░▒▓█ ▄ ▒██░ ▒██░ ░██░▓██▄██▓
|
||||||
⠈⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠛⠓⣿⣿⠟⠁⠘⣿⡟⠁⠀⠘⠛⠁⠀⠀⢠⣾⣿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠏⠙⠁
|
▒███████▒░▒████▒░██████▒░██████▒░██░ ▓███▒
|
||||||
⠀⠸⠟⠋⠀⠈⠙⣿⣿⣿⣿⣿⣿⣷⣦⡄⣿⣿⣿⣆⠀⠀⠀⠀⠀⠀⠀⠀⣼⣆⢘⣿⣯⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡉⠉⢱⡿⠀⠀⠀⠀⠀
|
░▒▒ ▓░▒░▒░░ ▒░ ░░ ▒░▓ ░░ ▒░▓ ░░▓ ▒▓▒▒░
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠘⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣟⡿⠦⠀⠀⠀⠀⠀⠀⠀⠙⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⡗⠀⠈⠀⠀⠀⠀⠀⠀
|
░░▒ ▒ ░ ▒ ░ ░ ░░ ░ ▒ ░░ ░ ▒ ░ ▒ ░ ▒ ░▒░
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⢻⣿⣿⣿⣿⣿⣿⣿⣿⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⢿⣿⣉⣿⡿⢿⢷⣾⣾⣿⣞⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠋⣠⠟⠀⠀⠀⠀⠀⠀⠀⠀
|
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⣿⣿⣿⠿⠿⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣾⣿⣿⣷⣦⣶⣦⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⠈⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠻⣿⣤⡖⠛⠶⠤⡀⠀⠀⠀⠀⠀⠀⠀⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠁⠙⣿⣿⠿⢻⣿⣿⡿⠋⢩⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
░
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⠧⣤⣦⣤⣄⡀⠀⠀⠀⠀⠀⠘⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⠀⠘⣧⠀⠈⣹⡻⠇⢀⣿⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣿⣿⣿⣿⣿⣤⣀⡀⠀⠀⠀⠀⠀⠀⠈⢽⣿⣿⣿⣿⣿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠹⣷⣴⣿⣷⢲⣦⣤⡀⢀⡀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢿⣿⣿⣿⣿⣿⣿⠟⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣷⢀⡄⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠂⠛⣆⣤⡜⣟⠋⠙⠂⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⣿⣿⣿⣿⠟⠀⠀⠀⠀⠀⠀⠀⠀⠘⣿⣿⣿⣿⠉⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣤⣾⣿⣿⣿⣿⣆⠀⠰⠄⠀⠉⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⣿⣿⡿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⣿⡿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⣿⠿⠿⣿⣿⣿⠇⠀⠀⢀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣿⡿⠛⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢻⡇⠀⠀⢀⣼⠗⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⠃⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠁⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠒⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
|
|
|
@ -1,11 +1,5 @@
|
||||||
keybinds {
|
keybinds {
|
||||||
shared_except "locked" {
|
|
||||||
bind "Ctrl y" {
|
|
||||||
LaunchOrFocusPlugin "file:~/.config/zellij/plugins/room.wasm" {
|
|
||||||
floating true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
|
|
|
@ -1,9 +1,42 @@
|
||||||
layout {
|
layout {
|
||||||
tab name="terminal" {
|
default_tab_template {
|
||||||
pane size="70%" borderless=false
|
children
|
||||||
pane size="30%" borderless=false
|
|
||||||
pane size=1 borderless=true {
|
pane size=1 borderless=true {
|
||||||
plugin location="file:~/.config/zellij/plugins/statusbar.wasm"
|
// plugin location="file:~/.config/zellij/plugins/statusbar.wasm"
|
||||||
|
plugin location="file:~/.config/zellij/plugins/zjstatus.wasm" {
|
||||||
|
format_left "{mode} #[fg=#8aadf4,bold]{session} {tabs}"
|
||||||
|
format_right "{datetime}"
|
||||||
|
format_space ""
|
||||||
|
|
||||||
|
hide_frame_for_single_pane "false"
|
||||||
|
|
||||||
|
mode_normal "#[bg=#89B4FA] "
|
||||||
|
mode_locked "#[bg=#ed8796] "
|
||||||
|
mode_resize "#[bg=#89B4FA] "
|
||||||
|
mode_pane "#[bg=#89B4FA] "
|
||||||
|
mode_tab "#[bg=#89B4FA] "
|
||||||
|
mode_scroll "#[bg=#89B4FA] "
|
||||||
|
mode_enter_search "#[bg=#89B4FA] "
|
||||||
|
mode_search "#[bg=#89B4FA] "
|
||||||
|
mode_rename_tab "#[bg=#89B4FA] "
|
||||||
|
mode_rename_pane "#[bg=#89B4FA] "
|
||||||
|
mode_session "#[bg=#89B4FA] "
|
||||||
|
mode_move "#[bg=#89B4FA] "
|
||||||
|
mode_prompt "#[bg=#89B4FA] "
|
||||||
|
mode_tmux "#[bg=#ffc387] "
|
||||||
|
|
||||||
|
tab_normal "#[fg=#6e738d] {name} "
|
||||||
|
tab_active "#[fg=#939ab7,bold,italic] {name} "
|
||||||
|
tab_active_fullscreen "#[fg=#939ab7,bold,italic] {name} []"
|
||||||
|
|
||||||
|
datetime "#[fg=#939ab7,bold] {format} "
|
||||||
|
datetime_format "%A, %d %b %Y %H:%M"
|
||||||
|
datetime_timezone "Europe/Madrid"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
tab name="terminal" {
|
||||||
|
pane size="70%"
|
||||||
|
pane size="20%"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
|
@ -1,7 +1,7 @@
|
||||||
themes {
|
themes {
|
||||||
default {
|
default {
|
||||||
bg "#24273a" // Surface2
|
bg "#24273a" // Surface2
|
||||||
fg "#cad3f5"
|
fg "#b7bdf8"
|
||||||
red "#ed8796"
|
red "#ed8796"
|
||||||
green "#a6da95"
|
green "#a6da95"
|
||||||
blue "#8aadf4"
|
blue "#8aadf4"
|
||||||
|
|
Loading…
Add table
Reference in a new issue