Plumbing through the new variable to theme files;
This is the start of plumbing things through into the theme files, but I do think that there is a better way here. I'm open to suggestions and will probably ask for some help in the Discord for Catppuccin.
This commit is contained in:
parent
7208fc8363
commit
fb4e08d66c
2 changed files with 12 additions and 1 deletions
|
@ -53,9 +53,18 @@ setw window-status-activity-style "fg=${thm_fg},bg=${thm_bg},none"
|
|||
setw window-status-separator ""
|
||||
setw window-status-style "fg=${thm_fg},bg=${thm_bg},none"
|
||||
|
||||
# TODO: continue implementing this later today...
|
||||
wt_enabled=$(tmux show -gqv @catppuccin_window_tabs_enabled)
|
||||
|
||||
status_left=""
|
||||
if [[ "${wt_enabled}" == "on" ]]
|
||||
then
|
||||
status_left="window_tabs_enabled"
|
||||
fi
|
||||
|
||||
# --------=== Statusline
|
||||
|
||||
set status-left ""
|
||||
set status-left "#[fg=$thm_red,bg=$thm_bg,nobold,nounderscore,noitalics]$status_left#[fg=$thm_fg,bg=$thm_bg,nobold,nounderscore,noitalics]"
|
||||
set status-right "#[fg=$thm_pink,bg=$thm_bg,nobold,nounderscore,noitalics]#[fg=$thm_bg,bg=$thm_pink,nobold,nounderscore,noitalics] #[fg=$thm_fg,bg=$thm_gray] #W #{?client_prefix,#[fg=$thm_red],#[fg=$thm_green]}#[bg=$thm_gray]#{?client_prefix,#[bg=$thm_red],#[bg=$thm_green]}#[fg=$thm_bg] #[fg=$thm_fg,bg=$thm_gray] #S "
|
||||
|
||||
# current_dir
|
||||
|
|
|
@ -10,6 +10,8 @@ get-tmux-option() {
|
|||
if [ -n "$value" ]; then
|
||||
echo "$value"
|
||||
else
|
||||
# README: Set the default option if it's not set originally.
|
||||
tmux set-option -gq "${option}" "${default}"
|
||||
echo "$default"
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue