From 30d1f41d00a8561a4c0c3e3a63c3884716312e08 Mon Sep 17 00:00:00 2001 From: pypeaday Date: Mon, 6 May 2024 12:01:45 -0500 Subject: [PATCH] k9s skins --- pages/til/customize-k9s.md | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pages/til/customize-k9s.md diff --git a/pages/til/customize-k9s.md b/pages/til/customize-k9s.md new file mode 100644 index 00000000..48895988 --- /dev/null +++ b/pages/til/customize-k9s.md @@ -0,0 +1,40 @@ +--- +date: 2024-05-06 11:57:07 +templateKey: til +title: Customize K9s +published: True +tags: + - cli + - homelab + - tech + +--- + +To customize k9s use the skins from catppuccin or the ones k9s supplies + +```bash +OUT="${XDG_CONFIG_HOME:-$HOME/.config}/k9s/skins" +mkdir -p "$OUT" +curl -L https://github.com/catppuccin/k9s/archive/main.tar.gz | tar xz -C "$OUT" --strip-components=2 k9s-main/dist +``` + +Then edit your k9s config + +``` +# ~/.config/k9s/config.yml +k9s: + ui: + skin: catppuccin-mocha + # ...or another flavor: + # skin: catppuccin-macchiato + # skin: catppuccin-frappe + # skin: catppuccin-latte + + # ...or the transparent variants: + # skin: catppuccin-mocha-transparent + # skin: catppuccin-macchiato-transparent + # skin: catppuccin-frappe-transparent + # skin: catppuccin-latte-transparent +``` + +Other k9s skins are available [here](https://github.com/derailed/k9s/tree/master/skins)