Compare commits

..

2 Commits

Author SHA1 Message Date
Pin Straw
cc6037a945 adding k9s setup 2026-04-27 21:02:06 -04:00
Pin Straw
836fb7bc50 zig updates 2026-04-27 21:01:53 -04:00
3 changed files with 25 additions and 1 deletions

View File

@@ -14,9 +14,11 @@ setup-zig-lib:
zig_download="$(mktemp --suffix=zig_download)" zig_download="$(mktemp --suffix=zig_download)"
zig_download_url="$(curl -s https://ziglang.org/download/index.json | zig_download_url="$(curl -s https://ziglang.org/download/index.json |
jq -r ".${zig_version}.[\"x86_64-linux\"].tarball")" jq -r ".${zig_version}.[\"x86_64-linux\"].tarball")"
zig_download_file="${zig_download_url##*/}"
curl -s -o "${zig_download}" "${zig_download_url}" curl -s -o "${zig_download}" "${zig_download_url}"
tar xvf "${zig_download}" -C ~/.local/zig >/dev/null tar xvf "${zig_download}" -C ~/.local/zig >/dev/null
ln -s ~/.local/zig/zig-x86_64-linux-0.16.0-dev.2694+74f361a5c ~/.local/zig/zig-bin rm -f ~/.local/zig/zig-bin
ln -s ~/.local/zig/${zig_download_file%%.tar.xz} ~/.local/zig/zig-bin
rm -f "${zig_download}" rm -f "${zig_download}"
setup-zls: setup-zls:

0
setup-bashrc.sh Normal file → Executable file
View File

22
setup-k9s.sh Normal file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
if !(command -v yq &>/dev/null); then
echo "yq is needed for config updates"
exit 1
fi
# Grab gruvbox-material-dark-soft skin
curl -so ~/.config/k9s/skins/gruvbox-material-dark-soft.yaml \
'https://raw.githubusercontent.com/derailed/k9s/refs/heads/master/skins/gruvbox-material-dark-soft.yaml'
# Set k9s.ui.skin to gruvbox-material-dark-soft
config_file=$(cat ~/.config/k9s/config.yaml | yq --yaml-output '.k9s.ui.skin |= ("gruvbox-material-dark-soft")')
# Set k9s.ui.logoless
config_file=$(echo "${config_file}" | yq --yaml-output '.k9s.ui.logoless |= (true)')
# Set k9s.ui.splashless
config_file=$(echo "${config_file}" | yq --yaml-output '.k9s.ui.splashless |= (true)')
# Setting config file contents
echo "${config_file}" >~/.config/k9s/config.yaml