2024-05-02 11:21:29 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
2024-05-02 11:54:18 +02:00
|
|
|
inputs,
|
2024-05-02 11:21:29 +02:00
|
|
|
...
|
|
|
|
}: {
|
2024-04-29 20:06:28 +02:00
|
|
|
programs.zellij = {
|
|
|
|
# This autostarts zellij on zsh start
|
|
|
|
# TODO find specific settings for vscode to avoid
|
2024-04-29 20:37:48 +02:00
|
|
|
enable = true;
|
2024-04-29 20:06:28 +02:00
|
|
|
enableZshIntegration = true;
|
2024-05-02 11:54:18 +02:00
|
|
|
settings = {
|
|
|
|
session_serialization = true;
|
|
|
|
theme = "catppuccin-macchiato";
|
2024-04-29 23:20:46 +02:00
|
|
|
|
2024-05-02 11:54:18 +02:00
|
|
|
themes = {
|
|
|
|
catppuccin-macchiato = {
|
|
|
|
bg = "#5b6078";
|
|
|
|
fg = "#cad3f5";
|
|
|
|
red = "#ed8796";
|
|
|
|
green = "#a6da95";
|
|
|
|
blue = "#8aadf4";
|
|
|
|
yellow = "#eed49f";
|
|
|
|
magenta = "#f5bde6";
|
|
|
|
orange = "#f5a97f";
|
|
|
|
cyan = "#91d7e3";
|
|
|
|
black = "#1e2030";
|
|
|
|
white = "#cad3f5";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
pane = {
|
2024-05-02 12:15:04 +02:00
|
|
|
"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";
|
|
|
|
};
|
2024-05-02 11:54:18 +02:00
|
|
|
};
|
2024-04-29 23:20:46 +02:00
|
|
|
};
|
2024-04-29 20:06:28 +02:00
|
|
|
};
|
2024-05-02 11:54:18 +02:00
|
|
|
|
|
|
|
# home.file = {
|
|
|
|
# "zellij" = {
|
|
|
|
# source = ./zellij.kdl;
|
|
|
|
# target = ".config/zellij/config.kdl";
|
|
|
|
# };
|
|
|
|
# };
|
2024-04-29 20:06:28 +02:00
|
|
|
}
|