Refactored tmux and k9s
This commit is contained in:
parent
36fbf464ed
commit
d930e11fba
7 changed files with 122 additions and 10 deletions
|
@ -23,7 +23,6 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
k9s
|
|
||||||
neovim
|
neovim
|
||||||
git
|
git
|
||||||
];
|
];
|
||||||
|
|
|
@ -44,6 +44,7 @@ in
|
||||||
kitty.enable = false;
|
kitty.enable = false;
|
||||||
waybar.enable = false;
|
waybar.enable = false;
|
||||||
tmux.enable = false;
|
tmux.enable = false;
|
||||||
|
k9s.enable = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
../moduler/oh-my-posh.nix
|
../moduler/oh-my-posh.nix
|
||||||
../moduler/gtk.nix
|
../moduler/gtk.nix
|
||||||
# ../moduler/neovim.nix
|
# ../moduler/neovim.nix
|
||||||
../moduler/k9s.nix
|
../moduler/k9s
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
{ config, inputs, pkgs, ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
in
|
|
||||||
{
|
|
||||||
programs.k9s.enable = true;
|
|
||||||
}
|
|
20
moduler/k9s/default.nix
Normal file
20
moduler/k9s/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
in
|
||||||
|
{
|
||||||
|
programs.k9s = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
k9s.ui.skin = "catppuccin-latte";
|
||||||
|
};
|
||||||
|
skins = {
|
||||||
|
catppuccin-latte = ./latte-transparent.yml;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
100
moduler/k9s/latte-transparent.yml
Normal file
100
moduler/k9s/latte-transparent.yml
Normal file
|
@ -0,0 +1,100 @@
|
||||||
|
k9s:
|
||||||
|
body:
|
||||||
|
fgColor: '#4c4f69'
|
||||||
|
bgColor: default
|
||||||
|
logoColor: '#8839ef'
|
||||||
|
prompt:
|
||||||
|
fgColor: '#4c4f69'
|
||||||
|
bgColor: default
|
||||||
|
suggestColor: '#1e66f5'
|
||||||
|
help:
|
||||||
|
fgColor: '#4c4f69'
|
||||||
|
bgColor: default
|
||||||
|
sectionColor: '#40a02b'
|
||||||
|
keyColor: '#1e66f5'
|
||||||
|
numKeyColor: '#e64553'
|
||||||
|
frame:
|
||||||
|
title:
|
||||||
|
fgColor: '#179299'
|
||||||
|
bgColor: default
|
||||||
|
highlightColor: '#ea76cb'
|
||||||
|
counterColor: '#df8e1d'
|
||||||
|
filterColor: '#40a02b'
|
||||||
|
border:
|
||||||
|
fgColor: '#8839ef'
|
||||||
|
focusColor: '#7287fd'
|
||||||
|
menu:
|
||||||
|
fgColor: '#4c4f69'
|
||||||
|
keyColor: '#1e66f5'
|
||||||
|
numKeyColor: '#e64553'
|
||||||
|
crumbs:
|
||||||
|
fgColor: '#eff1f5'
|
||||||
|
bgColor: default
|
||||||
|
activeColor: '#dd7878'
|
||||||
|
status:
|
||||||
|
newColor: '#1e66f5'
|
||||||
|
modifyColor: '#7287fd'
|
||||||
|
addColor: '#40a02b'
|
||||||
|
pendingColor: '#fe640b'
|
||||||
|
errorColor: '#d20f39'
|
||||||
|
highlightColor: '#04a5e5'
|
||||||
|
killColor: '#8839ef'
|
||||||
|
completedColor: '#9ca0b0'
|
||||||
|
info:
|
||||||
|
fgColor: '#fe640b'
|
||||||
|
sectionColor: '#4c4f69'
|
||||||
|
views:
|
||||||
|
table:
|
||||||
|
fgColor: '#4c4f69'
|
||||||
|
bgColor: default
|
||||||
|
cursorFgColor: '#ccd0da'
|
||||||
|
cursorBgColor: '#bcc0cc'
|
||||||
|
markColor: '#dc8a78'
|
||||||
|
header:
|
||||||
|
fgColor: '#df8e1d'
|
||||||
|
bgColor: default
|
||||||
|
sorterColor: '#04a5e5'
|
||||||
|
xray:
|
||||||
|
fgColor: '#4c4f69'
|
||||||
|
bgColor: default
|
||||||
|
cursorColor: '#bcc0cc'
|
||||||
|
cursorTextColor: '#eff1f5'
|
||||||
|
graphicColor: '#ea76cb'
|
||||||
|
charts:
|
||||||
|
bgColor: default
|
||||||
|
chartBgColor: default
|
||||||
|
dialBgColor: default
|
||||||
|
defaultDialColors:
|
||||||
|
- '#40a02b'
|
||||||
|
- '#d20f39'
|
||||||
|
defaultChartColors:
|
||||||
|
- '#40a02b'
|
||||||
|
- '#d20f39'
|
||||||
|
resourceColors:
|
||||||
|
cpu:
|
||||||
|
- '#8839ef'
|
||||||
|
- '#1e66f5'
|
||||||
|
mem:
|
||||||
|
- '#df8e1d'
|
||||||
|
- '#fe640b'
|
||||||
|
yaml:
|
||||||
|
keyColor: '#1e66f5'
|
||||||
|
valueColor: '#4c4f69'
|
||||||
|
colonColor: '#6c6f85'
|
||||||
|
logs:
|
||||||
|
fgColor: '#4c4f69'
|
||||||
|
bgColor: default
|
||||||
|
indicator:
|
||||||
|
fgColor: '#7287fd'
|
||||||
|
bgColor: default
|
||||||
|
toggleOnColor: '#40a02b'
|
||||||
|
toggleOffColor: '#6c6f85'
|
||||||
|
dialog:
|
||||||
|
fgColor: '#df8e1d'
|
||||||
|
bgColor: default
|
||||||
|
buttonFgColor: '#eff1f5'
|
||||||
|
buttonBgColor: default
|
||||||
|
buttonFocusFgColor: '#eff1f5'
|
||||||
|
buttonFocusBgColor: '#ea76cb'
|
||||||
|
labelFgColor: '#dc8a78'
|
||||||
|
fieldFgColor: '#4c4f69'
|
|
@ -11,7 +11,6 @@
|
||||||
plugins = with pkgs; [
|
plugins = with pkgs; [
|
||||||
tmuxPlugins.sensible
|
tmuxPlugins.sensible
|
||||||
tmuxPlugins.pain-control
|
tmuxPlugins.pain-control
|
||||||
tmuxPlugins.sessionist
|
|
||||||
{ plugin = inputs.minimal-tmux.packages.${pkgs.system}.default; }
|
{ plugin = inputs.minimal-tmux.packages.${pkgs.system}.default; }
|
||||||
];
|
];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue