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,18 +24,29 @@
# Terminal Kubernetes UI
programs.k9s = {
enable = true;
# settings = { k9s = { headless = true; }; };
skin = {
settings = {
k9s = {
ui = {
enableMouse = true;
headless = true;
logoless = true;
crumbsless = false;
skin = "main";
};
};
};
skins = {
main = {
k9s = {
body = {
fgColor = config.theme.colors.base06;
bgColor = config.theme.colors.base00;
bgColor = "default";
logoColor = config.theme.colors.base02; # *blue ?
};
# Search bar
prompt = {
fgColor = config.theme.colors.base06;
bgColor = config.theme.colors.base00;
bgColor = "default";
suggestColor = config.theme.colors.base03;
};
# Header left side
@ -45,7 +56,7 @@
};
dialog = {
fgColor = config.theme.colors.base06;
bgColor = config.theme.colors.base00;
bgColor = "default";
buttonFgColor = config.theme.colors.base06;
buttonBgColor = config.theme.colors.base0E;
buttonFocusFgColor = config.theme.colors.base07;
@ -79,7 +90,7 @@
};
title = {
fgColor = config.theme.colors.base06;
bgColor = config.theme.colors.base00;
bgColor = "default";
highlightColor = config.theme.colors.base09; # *orange
counterColor = config.theme.colors.base0D; # *blue
filterColor = config.theme.colors.base0E; # *magenta
@ -87,7 +98,7 @@
};
views = {
charts = {
bgColor = config.theme.colors.base00;
bgColor = "default";
defaultDialColors =
[ config.theme.colors.base0D config.theme.colors.base08 ];
# - *blue
@ -100,7 +111,7 @@
table = {
# List of resources
fgColor = config.theme.colors.base06;
bgColor = config.theme.colors.base00;
bgColor = "default";
# Row selection
cursorFgColor = config.theme.colors.base07;
@ -109,13 +120,13 @@
# Header row
header = {
fgColor = config.theme.colors.base0D;
bgColor = config.theme.colors.base00;
bgColor = "default";
sorterColor = config.theme.colors.base0A; # *selection
};
};
xray = {
fgColor = config.theme.colors.base06;
bgColor = config.theme.colors.base00;
bgColor = "default";
cursorColor = config.theme.colors.base06;
graphicColor = config.theme.colors.base0D;
showIcons = false;
@ -127,10 +138,11 @@
};
logs = {
fgColor = config.theme.colors.base06;
bgColor = config.theme.colors.base00;
bgColor = "default";
indicator = {
fgColor = config.theme.colors.base06;
bgColor = config.theme.colors.base00;
bgColor = "default";
};
};
};
};