add: zellij

This commit is contained in:
ooks-io 2023-12-06 15:37:39 +13:00
parent 50c0fb04d0
commit b44b774bfa
4 changed files with 57 additions and 19 deletions

View file

@ -6,6 +6,7 @@
./fish.nix
./starship.nix
./nix-index.nix
./zellij.nix
];
home.packages = with pkgs; [
bc # Calculator
@ -33,7 +34,6 @@
lazygit # git uitlity
comma # Install and run with ","
tldr # Community maintained help pages
tmux # Terminal multiplexer
progress
killall
gcc
@ -52,17 +52,17 @@
};
direnv = {
enable = true;
nix-direnv = true;
enableFishIntegration = true;
nix-direnv.enable = true;
};
fzf = {
enable = true;
enableFishIntegration = true;
defaultCommand = "rg --files --hidden";
changeDirWidgetOptions = [
"--preview 'eza --icons {} | head -200'"
"--preview 'eza --icons -L 3 -T --color always {} | head -200'"
"--exact"
];
fileWidgetCommand = "rg --files";
fileWidgetOptions = [
"--preview 'bat --color=always {}'"
];

View file

@ -0,0 +1,7 @@
{ pkgs, config, ... }:
{
programs.tmux = {
enable = true;
extraConfig = "set -g status-position top";
};
}

View file

@ -0,0 +1,31 @@
{ config, ... }:
let
inherit (config) colorscheme;
inherit (colorscheme) colors;
in
{
programs.zellij = {
enable = true;
enableFishIntegration = true;
settings = {
session-serialization = 1;
theme = "${colorscheme.slug}";
themes = {
"${colorscheme.slug}" = {
fg = "#${colors.base05}";
bg = "#${colors.base00}";
black = "#${colors.base00}";
red = "#${colors.base08}";
green = "#${colors.base0B}";
yellow = "#${colors.base0A}";
blue = "#${colors.base0D}";
magenta = "#${colors.base0E}";
cyan = "#${colors.base0C}";
white = "#${colors.base05}";
orange = "#${colors.base09}";
};
};
};
};
}