{pkgs, ...}: let zjstatus_config = '' pane size=1 borderless=true { plugin location="file:${pkgs.zjstatus}/bin/zjstatus.wasm" { format_left "{mode}#[fg=black,bg=blue,bold]{session} #[fg=blue,bg=#181825]{tabs}" format_right "#[fg=#181825,bg=#b1bbfa]{datetime}" format_space "#[bg=#181825]" mode_normal "#[bg=blue] " mode_tmux "#[bg=green] " tab_normal "#[fg=#181825,bg=#4C4C59] #[fg=#000000,bg=#4C4C59]{index}  {name} #[fg=#4C4C59,bg=#181825]" tab_normal_fullscreen "#[fg=#6C7086,bg=#181825] {index} {name} [] " tab_normal_sync "#[fg=#6C7086,bg=#181825] {index} {name} <> " tab_active "#[fg=#181825,bg=#ffffff,bold,italic] {index}  {name} #[fg=#ffffff,bg=#181825]" tab_active_fullscreen "#[fg=#9399B2,bg=#181825,bold,italic] {index} {name} [] " tab_active_sync "#[fg=#9399B2,bg=#181825,bold,italic] {index} {name} <> " datetime "#[fg=#6C7086,bg=#b1bbfa,bold] {format} " datetime_format "%A, %d %b %Y %H:%M" datetime_timezone "America/New_York" } }''; in { programs.zellij = { enable = true; # enableZshIntegration = true; # automatically sets up a session - I don't want this, I want manual control of my sessions }; xdg.configFile = { "zellij/config.kdl".source = ../../../../zellij/config.kdl; "zellij/layouts/jelly_layout.kdl".text = '' layout { cwd "/Users/acicchetti" default_tab_template { children ${zjstatus_config} } tab name="jellyfish" { pane { split_direction "vertical" name "jellyfish" cwd "src/jellyfish" } } tab name="infra" { pane { split_direction "vertical" name "infra" cwd "src/infra" } } tab name="misc" { pane { split_direction "vertical" name "misc" } } } ''; "zellij/layouts/default.kdl".text = '' layout { default_tab_template { children ${zjstatus_config} } }''; }; }