Skip to content

Commit

Permalink
change: colours and var names in main tmux file
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-pitblado committed Nov 23, 2024
1 parent cd764cb commit e6509d8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions catppuccin.tmux
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ source $SCRIPTS_PATH/themes.sh
tmux set -g status-left-length 80
tmux set -g status-right-length 150

RESET="#[fg=${THEME[foreground]},bg=${THEME[background]},nobold,noitalics,nounderscore,nodim]"
RESET="#[fg=${THEME[text]},bg=${THEME[base]},nobold,noitalics,nounderscore,nodim]"
# Highlight colors
tmux set -g mode-style "fg=${THEME[green]},bg=${THEME[black]}"
tmux set -g mode-style "fg=${THEME[green]},bg=${THEME[subtext1]}"

tmux set -g message-style "bg=${THEME[blue]},fg=${THEME[background]}"
tmux set -g message-command-style "fg=${THEME[white]},bg=${THEME[black]}"
tmux set -g message-style "bg=${THEME[blue]},fg=${THEME[base]}"
tmux set -g message-command-style "fg=${THEME[text]},bg=${THEME[base]}"

tmux set -g pane-border-style "fg=${THEME[black]}"
tmux set -g pane-border-style "fg=${THEME[subtext1]}"
tmux set -g pane-active-border-style "fg=${THEME[blue]}"
tmux set -g pane-border-status off

tmux set -g status-style bg="${THEME[background]}"
tmux set -g status-style bg="${THEME[base]}"

TMUX_VARS="$(tmux show -g)"

Expand Down Expand Up @@ -54,13 +54,13 @@ battery_status="#($SCRIPTS_PATH/battery-widget.sh)"

#+--- Bars LEFT ---+
# Session name
tmux set -g status-left "#[fg=${THEME[background]},bg=${THEME[lavender]},bold] #{?client_prefix,󰠠 ,#[dim] }#[bold,nodim]#S "
tmux set -g status-left "#[fg=${THEME[base]},bg=${THEME[lavender]},bold] #{?client_prefix,󰠠 ,#[dim] }#[bold,nodim]#S "

#+--- Windows ---+
# Focus
tmux set -g window-status-current-format "$RESET#[fg=${THEME[green]},bg=${THEME[bblack]}] #{?#{==:#{pane_current_command},ssh},󰣀 ,}#[fg=${THEME[foreground]},bold,nodim]$window_number#W#[nobold]#{?window_zoomed_flag, $zoom_number, $custom_pane}#{?window_last_flag, , }"
tmux set -g window-status-current-format "$RESET#[fg=${THEME[green]},bg=${THEME[overlay2]}] #{?#{==:#{pane_current_command},ssh},󰣀 ,}#[fg=${THEME[text]},bold,nodim]$window_number#W#[nobold]#{?window_zoomed_flag, $zoom_number, $custom_pane}#{?window_last_flag, , }"
# Unfocused
tmux set -g window-status-format "$RESET#[fg=${THEME[foreground]}] #{?#{==:#{pane_current_command},ssh},󰣀 ,}${RESET}$window_number#W#[nobold,dim]#{?window_zoomed_flag, $zoom_number, $custom_pane}#[fg=${THEME[yellow]}]#{?window_last_flag, , }"
tmux set -g window-status-format "$RESET#[fg=${THEME[subtext1]}] #{?#{==:#{pane_current_command},ssh},󰣀 ,}${RESET}$window_number#W#[nobold,dim]#{?window_zoomed_flag, $zoom_number, $custom_pane}#[fg=${THEME[yellow]}]#{?window_last_flag, , }"

#+--- Bars RIGHT ---+
tmux set -g status-right "$battery_status$current_path$cmus_status$netspeed$git_status$wb_git_status$date_and_time"
Expand Down

0 comments on commit e6509d8

Please sign in to comment.