mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
13 lines
365 B
Bash
13 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"
|
|
}
|