From 9a6c65c7d8772039b6f245e4f2e1d3ef8cbbbabc Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 29 Apr 2024 21:02:30 +0900 Subject: [PATCH] Updates --- .../software/cli/zellij/layouts/default.kdl | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 home-manager/common/software/cli/zellij/layouts/default.kdl diff --git a/home-manager/common/software/cli/zellij/layouts/default.kdl b/home-manager/common/software/cli/zellij/layouts/default.kdl new file mode 100644 index 00000000..732e7dad --- /dev/null +++ b/home-manager/common/software/cli/zellij/layouts/default.kdl @@ -0,0 +1,35 @@ +layout { + default_tab_template { + children + pane size=1 borderless=true { + plugin location="https://github.com/dj95/zjstatus/releases/latest/download/zjstatus.wasm" { + format_left "{mode} #[fg=#89B4FA,bold]{session}" + format_center "{tabs}" + format_right "{command_git_branch} {datetime}" + format_space "" + + border_enabled "false" + border_char "─" + border_format "#[fg=#6C7086]{char}" + border_position "top" + + hide_frame_for_single_pane "true" + + mode_normal "#[bg=blue] " + mode_tmux "#[bg=#ffc387] " + + tab_normal "#[fg=#6C7086] {name} " + tab_active "#[fg=#9399B2,bold,italic] {name} " + + command_git_branch_command "git rev-parse --abbrev-ref HEAD" + command_git_branch_format "#[fg=blue] {stdout} " + command_git_branch_interval "10" + command_git_branch_rendermode "static" + + datetime "#[fg=#6C7086,bold] {format} " + datetime_format "%A, %d %b %Y %H:%M" + datetime_timezone "Europe/Berlin" + } + } + } +}