mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 23:49:56 +00:00
15 lines
419 B
Bash
15 lines
419 B
Bash
# Requires https://github.com/arl/gitmux
|
|
|
|
show_gitmux() {
|
|
local index icon color text module
|
|
|
|
index=$1
|
|
icon="$(get_tmux_option "@catppuccin_gitmux_icon" "")"
|
|
color="$(get_tmux_option "@catppuccin_gitmux_color" "$thm_green")"
|
|
text="$(get_tmux_option "@catppuccin_gitmux_text" "#(gitmux \"#{pane_current_path}\")")"
|
|
|
|
module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
|
|
|
echo "$module"
|
|
}
|