Skip to content

Commit

Permalink
Make k9s transparent
Browse files Browse the repository at this point in the history
  • Loading branch information
pkissling committed Mar 4, 2024
1 parent 2586654 commit 3732793
Show file tree
Hide file tree
Showing 5 changed files with 87 additions and 111 deletions.
1 change: 1 addition & 0 deletions brew/Brewfile.work
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ brew "credstash"
brew "gobject-introspection"
brew "helm"
brew "helmfile"
brew "imap-backup"
brew "jesseduffield/lazydocker/lazydocker"
brew "libpq"
brew "[email protected]"
Expand Down
42 changes: 42 additions & 0 deletions k9s/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
k9s:
liveViewAutoRefresh: false
screenDumpDir: /Users/kip1mu20/Library/Application Support/k9s/screen-dumps
refreshRate: 2
maxConnRetry: 5
readOnly: false
noExitOnCtrlC: false
ui:
skin: transparent
enableMouse: false
headless: false
logoless: false
crumbsless: false
reactive: false
noIcons: false
defaultsToFullScreen: false
skipLatestRevCheck: false
disablePodCounting: false
shellPod:
image: busybox:1.35.0
namespace: default
limits:
cpu: 100m
memory: 100Mi
imageScans:
enable: false
exclusions:
namespaces: []
labels: {}
logger:
tail: 100
buffer: 5000
sinceSeconds: -1
textWrap: false
showTime: false
thresholds:
cpu:
critical: 90
warn: 70
memory:
critical: 90
warn: 70
109 changes: 0 additions & 109 deletions k9s/dracula.yml

This file was deleted.

8 changes: 6 additions & 2 deletions k9s/install.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#!/usr/bin/env bash
set -ex

# create .config/k9s folder, if not exist
# create k9s folders, if not exist
mkdir -p "${XDG_CONFIG_HOME}"/k9s
mkdir -p "${XDG_CONFIG_HOME}"/k9s/skins

# create config symlink
ln -sfv "${HOME}"/dotfiles/k9s/config.yaml "${XDG_CONFIG_HOME}"/k9s/config.yaml

# create skin symlink
ln -sfv "${HOME}"/dotfiles/k9s/dracula.yml "${XDG_CONFIG_HOME}"/k9s/skin.yml
ln -sfv "${HOME}"/dotfiles/k9s/transparent.yaml "${XDG_CONFIG_HOME}"/k9s/skins/transparent.yaml
38 changes: 38 additions & 0 deletions k9s/transparent.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
k9s:
body:
bgColor: default
prompt:
bgColor: default
info:
sectionColor: default
dialog:
bgColor: default
labelFgColor: default
fieldFgColor: default
frame:
crumbs:
bgColor: default
title:
bgColor: default
counterColor: default
menu:
fgColor: default
views:
charts:
bgColor: default
table:
bgColor: default
header:
fgColor: default
bgColor: default
xray:
bgColor: default
logs:
bgColor: default
indicator:
bgColor: default
toggleOnColor: default
toggleOffColor: default
yaml:
colonColor: default
valueColor: default

0 comments on commit 3732793

Please sign in to comment.