diff --git a/.tmux/modules/kubernetes.sh b/.tmux/modules/kubernetes.sh index 83b2e93..a1bf6cc 100644 --- a/.tmux/modules/kubernetes.sh +++ b/.tmux/modules/kubernetes.sh @@ -3,12 +3,9 @@ show_kubernetes() { local index icon color text module - # context=$(kubectl config view --minify -o jsonpath='{.current-context}') - # namespace=$(kubectl config view --minify -o jsonpath='{.contexts[0].context.namespace}') - index=$1 icon=$(get_tmux_option "@catppuccin_kubernetes_icon" "󱃾") - color=$(get_tmux_option "@catppuccin_kubernetes_color" "$thm_blue") + color=$(get_tmux_option "@catppuccin_kubernetes_color" "${thm_blue:?}") text=$(get_tmux_option "@catppuccin_kubernetes_text" "#( $HOME/.tmux/modules/get_kubernetes_context.sh )") module=$(build_status_module "$index" "$icon" "$color" "$text") diff --git a/.tmux/modules/time.sh b/.tmux/modules/time.sh index 42b7daa..f986882 100644 --- a/.tmux/modules/time.sh +++ b/.tmux/modules/time.sh @@ -5,7 +5,7 @@ show_time() { index=$1 icon="$(get_tmux_option "@catppuccin_time_icon" "")" - color="$(get_tmux_option "@catppuccin_time_color" "$thm_yellow")" + color="$(get_tmux_option "@catppuccin_time_color" "${thm_yellow:?}")" text="$(get_tmux_option "@catppuccin_time_text" "%H:%M")" module=$(build_status_module "$index" "$icon" "$color" "$text")