12 lines
365 B
Bash
12 lines
365 B
Bash
show_directory() {
|
|
local index icon color text module
|
|
|
|
index=$1
|
|
icon=$(get_tmux_option "@catppuccin_directory_icon" "")
|
|
color=$(get_tmux_option "@catppuccin_directory_color" "$thm_pink")
|
|
text=$(get_tmux_option "@catppuccin_directory_text" "#{b:pane_current_path}")
|
|
|
|
module=$(build_status_module "$index" "$icon" "$color" "$text")
|
|
|
|
echo "$module"
|
|
}
|