fix k9s to work with new config workflow

This commit is contained in:
Noah Masur 2024-01-30 10:37:05 -07:00
parent fa03e51d37
commit e7f8a75df3

View File

@ -24,113 +24,125 @@
# Terminal Kubernetes UI # Terminal Kubernetes UI
programs.k9s = { programs.k9s = {
enable = true; enable = true;
# settings = { k9s = { headless = true; }; }; settings = {
skin = {
k9s = { k9s = {
body = { ui = {
fgColor = config.theme.colors.base06; enableMouse = true;
bgColor = config.theme.colors.base00; headless = true;
logoColor = config.theme.colors.base02; # *blue ? logoless = true;
crumbsless = false;
skin = "main";
}; };
# Search bar };
prompt = { };
fgColor = config.theme.colors.base06; skins = {
bgColor = config.theme.colors.base00; main = {
suggestColor = config.theme.colors.base03; k9s = {
}; body = {
# Header left side
info = {
fgColor = config.theme.colors.base04;
sectionColor = config.theme.colors.base05;
};
dialog = {
fgColor = config.theme.colors.base06;
bgColor = config.theme.colors.base00;
buttonFgColor = config.theme.colors.base06;
buttonBgColor = config.theme.colors.base0E;
buttonFocusFgColor = config.theme.colors.base07;
buttonFocusBgColor = config.theme.colors.base02; # *cyan
labelFgColor = config.theme.colors.base09;
fieldFgColor = config.theme.colors.base06;
};
frame = {
border = {
fgColor = config.theme.colors.base01;
focusColor = config.theme.colors.base06;
};
menu = {
fgColor = config.theme.colors.base06; fgColor = config.theme.colors.base06;
keyColor = config.theme.colors.base0E; # *magenta bgColor = "default";
numKeyColor = config.theme.colors.base0E; # *magenta logoColor = config.theme.colors.base02; # *blue ?
}; };
crumbs = { # Search bar
prompt = {
fgColor = config.theme.colors.base06; fgColor = config.theme.colors.base06;
bgColor = config.theme.colors.base01; bgColor = "default";
activeColor = config.theme.colors.base03; suggestColor = config.theme.colors.base03;
}; };
status = { # Header left side
newColor = config.theme.colors.base04; # *cyan info = {
modifyColor = config.theme.colors.base0D; # *blue fgColor = config.theme.colors.base04;
addColor = config.theme.colors.base0B; # *green sectionColor = config.theme.colors.base05;
errorColor = config.theme.colors.base08; # *red
highlightColor = config.theme.colors.base09; # *orange
killColor = config.theme.colors.base03; # *comment
completedColor = config.theme.colors.base03; # *comment
}; };
title = { dialog = {
fgColor = config.theme.colors.base06; fgColor = config.theme.colors.base06;
bgColor = config.theme.colors.base00; bgColor = "default";
highlightColor = config.theme.colors.base09; # *orange buttonFgColor = config.theme.colors.base06;
counterColor = config.theme.colors.base0D; # *blue buttonBgColor = config.theme.colors.base0E;
filterColor = config.theme.colors.base0E; # *magenta buttonFocusFgColor = config.theme.colors.base07;
buttonFocusBgColor = config.theme.colors.base02; # *cyan
labelFgColor = config.theme.colors.base09;
fieldFgColor = config.theme.colors.base06;
}; };
}; frame = {
views = { border = {
charts = { fgColor = config.theme.colors.base01;
bgColor = config.theme.colors.base00; focusColor = config.theme.colors.base06;
defaultDialColors = };
[ config.theme.colors.base0D config.theme.colors.base08 ]; menu = {
# - *blue fgColor = config.theme.colors.base06;
# - *red keyColor = config.theme.colors.base0E; # *magenta
defaultChartColors = numKeyColor = config.theme.colors.base0E; # *magenta
[ config.theme.colors.base0D config.theme.colors.base08 ]; };
# - *blue crumbs = {
# - *red fgColor = config.theme.colors.base06;
}; bgColor = config.theme.colors.base01;
table = { activeColor = config.theme.colors.base03;
# List of resources };
fgColor = config.theme.colors.base06; status = {
bgColor = config.theme.colors.base00; newColor = config.theme.colors.base04; # *cyan
modifyColor = config.theme.colors.base0D; # *blue
# Row selection addColor = config.theme.colors.base0B; # *green
cursorFgColor = config.theme.colors.base07; errorColor = config.theme.colors.base08; # *red
cursorBgColor = config.theme.colors.base01; highlightColor = config.theme.colors.base09; # *orange
killColor = config.theme.colors.base03; # *comment
# Header row completedColor = config.theme.colors.base03; # *comment
header = { };
fgColor = config.theme.colors.base0D; title = {
bgColor = config.theme.colors.base00; fgColor = config.theme.colors.base06;
sorterColor = config.theme.colors.base0A; # *selection bgColor = "default";
highlightColor = config.theme.colors.base09; # *orange
counterColor = config.theme.colors.base0D; # *blue
filterColor = config.theme.colors.base0E; # *magenta
}; };
}; };
xray = { views = {
fgColor = config.theme.colors.base06; charts = {
bgColor = config.theme.colors.base00; bgColor = "default";
cursorColor = config.theme.colors.base06; defaultDialColors =
graphicColor = config.theme.colors.base0D; [ config.theme.colors.base0D config.theme.colors.base08 ];
showIcons = false; # - *blue
}; # - *red
yaml = { defaultChartColors =
keyColor = config.theme.colors.base0D; [ config.theme.colors.base0D config.theme.colors.base08 ];
colonColor = config.theme.colors.base04; # - *blue
fgColor = config.theme.colors.base03; # - *red
}; };
logs = { table = {
fgColor = config.theme.colors.base06; # List of resources
bgColor = config.theme.colors.base00;
indicator = {
fgColor = config.theme.colors.base06; fgColor = config.theme.colors.base06;
bgColor = config.theme.colors.base00; bgColor = "default";
# Row selection
cursorFgColor = config.theme.colors.base07;
cursorBgColor = config.theme.colors.base01;
# Header row
header = {
fgColor = config.theme.colors.base0D;
bgColor = "default";
sorterColor = config.theme.colors.base0A; # *selection
};
};
xray = {
fgColor = config.theme.colors.base06;
bgColor = "default";
cursorColor = config.theme.colors.base06;
graphicColor = config.theme.colors.base0D;
showIcons = false;
};
yaml = {
keyColor = config.theme.colors.base0D;
colonColor = config.theme.colors.base04;
fgColor = config.theme.colors.base03;
};
logs = {
fgColor = config.theme.colors.base06;
bgColor = "default";
indicator = {
fgColor = config.theme.colors.base06;
bgColor = "default";
};
}; };
}; };
}; };