From fb801b0eb2edd882a058de76363320249b9f6fc5 Mon Sep 17 00:00:00 2001 From: Valentin Uveges Date: Mon, 27 Mar 2023 22:03:44 +0300 Subject: [PATCH] fix: update method name --- catppuccin.tmux | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/catppuccin.tmux b/catppuccin.tmux index 1f10385..fe2dc2e 100755 --- a/catppuccin.tmux +++ b/catppuccin.tmux @@ -61,9 +61,17 @@ main() { # --------=== Statusline # NOTE: Checking for the value of @catppuccin_window_tabs_enabled - readonly wt_enabled="$(get_tmux_option "@catppuccin_window_tabs_enabled" "off")" - readonly right_separator="$(get-tmux-option "@catppuccin_right_separator" "")" - readonly left_separator="$(get-tmux-option "@catppuccin_left_separator" "")" + local wt_enabled + wt_enabled="$(get_tmux_option "@catppuccin_window_tabs_enabled" "off")" + readonly wt_enabled + + local right_separator + right_separator="$(get_tmux_option "@catppuccin_right_separator" "")" + readonly right_separator + + local left_separator + left_separator="$(get_tmux_option "@catppuccin_left_separator" "")" + readonly left_separator # These variables are the defaults so that the setw and set calls are easier to parse. local show_directory