feat(module): rework the session module, format code, rework module loader
This commit is contained in:
parent
465eb977f5
commit
2beae09938
9 changed files with 100 additions and 91 deletions
|
@ -1,10 +1,10 @@
|
|||
show_host() {
|
||||
local index=$1
|
||||
local icon="$(get_tmux_option "@catppuccin_host_icon" "")"
|
||||
local color="$(get_tmux_option "@catppuccin_host_color" "$thm_magenta")"
|
||||
local text="$(get_tmux_option "@catppuccin_host_text" "#H")"
|
||||
local index=$1
|
||||
local icon=$(get_tmux_option "@catppuccin_host_icon" "")
|
||||
local color=$(get_tmux_option "@catppuccin_host_color" "$thm_magenta")
|
||||
local text=$(get_tmux_option "@catppuccin_host_text" "#H")
|
||||
|
||||
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
||||
|
||||
echo $module
|
||||
echo $module
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue