diff --git a/layouts/default.kdl b/layouts/default.kdl index 42a999d..33816b5 100644 --- a/layouts/default.kdl +++ b/layouts/default.kdl @@ -2,32 +2,91 @@ 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 "" + plugin location="file:/Users/christopherwilliams/.config/zellij/plugins/zjstatus.wasm" { + color_rosewater "#d7d7d7" + color_flamingo "#6caddf" + color_pink "#4daafc" + color_mauve "#2489db" + color_red "#f85149" + color_maroon "#bb8009" + color_peach "#e2c08d" + color_yellow "#9e6a03" + color_green "#2ea043" + color_teal "#4daafc" + color_sky "#6caddf" + color_sapphire "#0078d4" + color_blue "#0078d4" + color_lavender "#6caddf" + color_text "#cccccc" + color_subtext1 "#d7d7d7" + color_subtext0 "#9d9d9d" + color_overlay2 "#868686" + color_overlay1 "#616161" + color_overlay0 "#3c3c3c" + color_surface2 "#2b2b2b" + color_surface1 "#1f1f1f" + color_surface0 "#181818" + color_base "#1f1f1f" + color_mantle "#181818" + color_crust "#181818" + + format_left "#[bg=$surface0,fg=$sapphire]#[bg=$sapphire,fg=#ffffff,bold] {session} #[bg=$surface0] {mode}#[bg=$surface0] {tabs}" + format_center "{notifications}" + format_right "#[bg=$surface0,fg=$overlay1]#[fg=#ffffff,bg=$overlay1] #[bg=$surface1,fg=$subtext1,bold] {command_user}@{command_host}#[bg=$surface0,fg=$surface1]#[bg=$surface0,fg=$blue]#[bg=$blue,fg=#ffffff]󰅐 #[bg=$surface1,fg=$subtext1,bold] {datetime}#[bg=$surface0,fg=$surface1]" + format_space "#[bg=$surface0]" + format_hide_on_overlength "true" + format_precedence "lrc" border_enabled "false" border_char "─" - border_format "#[fg=#6C7086]{char}" + border_format "#[bg=$surface0]{char}" border_position "top" hide_frame_for_single_pane "false" - mode_normal "#[bg=blue] " - mode_tmux "#[bg=#ffc387] " + mode_normal "#[bg=$blue,fg=#ffffff,bold] NORMAL#[bg=$surface0,fg=$blue]" + mode_tmux "#[bg=$lavender,fg=#ffffff,bold] TMUX#[bg=$surface0,fg=$lavender]" + mode_locked "#[bg=$red,fg=#ffffff,bold] LOCKED#[bg=$surface0,fg=$red]" + mode_pane "#[bg=$teal,fg=#ffffff,bold] PANE#[bg=$surface0,fg=$teal]" + mode_tab "#[bg=$teal,fg=#ffffff,bold] TAB#[bg=$surface0,fg=$teal]" + mode_scroll "#[bg=$flamingo,fg=#ffffff,bold] SCROLL#[bg=$surface0,fg=$flamingo]" + mode_enter_search "#[bg=$flamingo,fg=#ffffff,bold] ENT-SEARCH#[bg=$surface0,fg=$flamingo]" + mode_search "#[bg=$flamingo,fg=#ffffff,bold] SEARCH#[bg=$surface0,fg=$flamingo]" + mode_resize "#[bg=$yellow,fg=#ffffff,bold] RESIZE#[bg=$surface0,fg=$yellow]" + mode_rename_tab "#[bg=$yellow,fg=#ffffff,bold] RENAME-TAB#[bg=$surface0,fg=$yellow]" + mode_rename_pane "#[bg=$yellow,fg=#ffffff,bold] RENAME-PANE#[bg=$surface0,fg=$yellow]" + mode_move "#[bg=$yellow,fg=#ffffff,bold] MOVE#[bg=$surface0,fg=$yellow]" + mode_session "#[bg=$pink,fg=#ffffff,bold] SESSION#[bg=$surface0,fg=$pink]" + mode_prompt "#[bg=$pink,fg=#ffffff,bold] PROMPT#[bg=$surface0,fg=$pink]" - tab_normal "#[fg=#6C7086] {name} " - tab_active "#[fg=#9399B2,bold,italic] {name} " + tab_normal "#[bg=$surface0,fg=$surface2]#[bg=$surface2,fg=$subtext1,bold]{index} #[bg=$surface1,fg=$subtext0] {name}{floating_indicator}#[bg=$surface0,fg=$surface1]" + tab_normal_fullscreen "#[bg=$surface0,fg=$surface2]#[bg=$surface2,fg=$subtext1,bold]{index} #[bg=$surface1,fg=$subtext0] {name}{fullscreen_indicator}#[bg=$surface0,fg=$surface1]" + tab_normal_sync "#[bg=$surface0,fg=$surface2]#[bg=$surface2,fg=$subtext1,bold]{index} #[bg=$surface1,fg=$subtext0] {name}{sync_indicator}#[bg=$surface0,fg=$surface1]" + tab_active "#[bg=$surface0,fg=$blue]#[bg=$blue,fg=#ffffff,bold]{index} #[bg=$surface1,fg=$text,bold] {name}{floating_indicator}#[bg=$surface0,fg=$surface1]" + tab_active_fullscreen "#[bg=$surface0,fg=$blue]#[bg=$blue,fg=#ffffff,bold]{index} #[bg=$surface1,fg=$text,bold] {name}{fullscreen_indicator}#[bg=$surface0,fg=$surface1]" + tab_active_sync "#[bg=$surface0,fg=$blue]#[bg=$blue,fg=#ffffff,bold]{index} #[bg=$surface1,fg=$text,bold] {name}{sync_indicator}#[bg=$surface0,fg=$surface1]" + tab_separator "#[bg=$surface0] " - 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" + tab_sync_indicator " " + tab_fullscreen_indicator " 󰊓" + tab_floating_indicator " 󰹙" - datetime "#[fg=#6C7086,bold] {format} " - datetime_format "%A, %d %b %Y %H:%M" + notification_format_unread "#[bg=$surface0,fg=$blue]#[bg=$blue,fg=#ffffff] #[bg=$surface1,fg=$subtext1] {message}#[bg=$surface0,fg=$surface1]" + notification_format_no_notifications "" + notification_show_interval "10" + + command_host_command "uname -n" + command_host_format "{stdout}" + command_host_interval "0" + command_host_rendermode "static" + + command_user_command "whoami" + command_user_format "{stdout}" + command_user_interval "10" + command_user_rendermode "static" + + datetime "{format}" + datetime_format "%Y-%m-%d 󰅐 %I:%M %p" datetime_timezone "America/New_York" } }