Skip to content

Commit e1b978e

Browse files
committed
add zellij new layout
1 parent 4787b36 commit e1b978e

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

config/dot_config/zellij/config.kdl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ default_shell "fish"
269269
// The name of the default layout to load on startup
270270
// Default: "default"
271271
// (Requires restart)
272-
default_layout "compact"
272+
default_layout "default"
273273

274274
// Choose the mode that zellij uses when starting up.
275275
// Default: normal
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
layout {
2+
default_tab_template {
3+
children
4+
pane size=1 {
5+
plugin location="https://github.com/dj95/zjstatus/releases/latest/download/zjstatus.wasm" {
6+
format_left "{mode} #[fg=#9399B2]{session}"
7+
format_center "{tabs}"
8+
format_right "{command_git_branch} {datetime}"
9+
format_space ""
10+
11+
border_enabled "false"
12+
border_char "─"
13+
border_format "#[fg=#6C7086]{char}"
14+
border_position "top"
15+
16+
hide_frame_for_single_pane "true"
17+
18+
mode_normal "#[bg=#6C7086] "
19+
mode_tmux "#[bg=#ffc387] "
20+
21+
tab_normal "#[fg=#6C7086] {name} "
22+
tab_active "#[fg=#9399B2,bold] {name} "
23+
24+
command_git_branch_command "git rev-parse --abbrev-ref HEAD"
25+
command_git_branch_format "#[fg=blue] {stdout} "
26+
command_git_branch_interval "10"
27+
command_git_branch_rendermode "static"
28+
}
29+
}
30+
}
31+
}

0 commit comments

Comments
 (0)