add: zellij
This commit is contained in:
parent
50c0fb04d0
commit
b44b774bfa
4 changed files with 57 additions and 19 deletions
|
|
@ -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 {}'"
|
||||
];
|
||||
|
|
|
|||
7
home/ooks/base/shell/cli/tmux.nix
Normal file
7
home/ooks/base/shell/cli/tmux.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
extraConfig = "set -g status-position top";
|
||||
};
|
||||
}
|
||||
31
home/ooks/base/shell/cli/zellij.nix
Normal file
31
home/ooks/base/shell/cli/zellij.nix
Normal 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}";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue