From 422321705ed50bcbcde60065355c8768b78f08ac Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 2 May 2024 12:15:04 +0200 Subject: [PATCH] Let's try this config then --- home-manager/shared/shell/zellij.nix | 29 +++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/home-manager/shared/shell/zellij.nix b/home-manager/shared/shell/zellij.nix index 1cbdd3b..caae0f2 100644 --- a/home-manager/shared/shell/zellij.nix +++ b/home-manager/shared/shell/zellij.nix @@ -29,7 +29,34 @@ }; }; pane = { - "plugin location=" = "file:${inputs.zjstatus.packages.${pkgs.system}.default}/bin/zjstatus.wasm"; + "plugin location= \"file:${inputs.zjstatus.packages.${pkgs.system}.default}/bin/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/Amsterdam"; + }; }; }; };