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,11 +1,11 @@
|
|||
show_date_time() {
|
||||
local index=$1
|
||||
local index=$1
|
||||
local icon="$(get_tmux_option "@catppuccin_date_time_icon" "")"
|
||||
local color="$(get_tmux_option "@catppuccin_date_time_color" "$thm_blue")"
|
||||
local text="$(get_tmux_option "@catppuccin_date_time_text" "%Y-%m-%d %H:%M")"
|
||||
|
||||
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
||||
|
||||
echo $module
|
||||
echo $module
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue