diff --git a/status/application.sh b/status/application.sh index 2cbdce38..5ce9b8e3 100644 --- a/status/application.sh +++ b/status/application.sh @@ -1,7 +1,7 @@ show_application() { local index icon color text module - tmux_batch_setup_module "application" + tmux_batch_setup_status_module "application" run_tmux_batch_commands index=$1 diff --git a/status/battery.sh b/status/battery.sh index 65d0085b..1f3ec56a 100644 --- a/status/battery.sh +++ b/status/battery.sh @@ -1,7 +1,7 @@ show_battery() { local index icon color text module - tmux_batch_setup_module "battery" + tmux_batch_setup_status_module "battery" tmux_batch_options_commands+=("set-option -gq @batt_icon_charge_tier8 󰁹 ;") tmux_batch_options_commands+=("set-option -gq @batt_icon_charge_tier7 󰂁 ;") diff --git a/status/clima.sh b/status/clima.sh index 09b76c2b..6f54c2ac 100644 --- a/status/clima.sh +++ b/status/clima.sh @@ -2,7 +2,7 @@ show_clima() { local index icon color text module - tmux_batch_setup_module "clima" + tmux_batch_setup_status_module "clima" run_tmux_batch_commands index=$1 diff --git a/status/cpu.sh b/status/cpu.sh index 55ba2d40..7b9e0195 100644 --- a/status/cpu.sh +++ b/status/cpu.sh @@ -1,7 +1,7 @@ show_cpu() { local index icon color text module - tmux_batch_setup_module "cpu" + tmux_batch_setup_status_module "cpu" tmux_batch_options_commands+=("set-option -gq @cpu_low_bg_color $thm_yellow ;") # background color when cpu is low tmux_batch_options_commands+=("set-option -gq @cpu_medium_bg_color $thm_orange ;") # background color when cpu is medium diff --git a/status/date_time.sh b/status/date_time.sh index 93576edb..cf8262bb 100644 --- a/status/date_time.sh +++ b/status/date_time.sh @@ -1,7 +1,7 @@ show_date_time() { local index icon color text module - tmux_batch_setup_module "date_time" + tmux_batch_setup_status_module "date_time" run_tmux_batch_commands index=$1 diff --git a/status/directory.sh b/status/directory.sh index 93209738..f0d14761 100644 --- a/status/directory.sh +++ b/status/directory.sh @@ -1,7 +1,7 @@ show_directory() { local index icon color text module - tmux_batch_setup_module "directory" + tmux_batch_setup_status_module "directory" run_tmux_batch_commands index=$1 diff --git a/status/gitmux.sh b/status/gitmux.sh index f1315449..edebf5c8 100644 --- a/status/gitmux.sh +++ b/status/gitmux.sh @@ -3,7 +3,7 @@ show_gitmux() { local index icon color text module - tmux_batch_setup_module "gitmux" + tmux_batch_setup_status_module "gitmux" run_tmux_batch_commands index=$1 diff --git a/status/host.sh b/status/host.sh index f37436b4..ce2bd6dd 100644 --- a/status/host.sh +++ b/status/host.sh @@ -1,7 +1,7 @@ show_host() { local index icon color text module - tmux_batch_setup_module "host" + tmux_batch_setup_status_module "host" run_tmux_batch_commands index=$1 diff --git a/status/kube.sh b/status/kube.sh index db4692f0..5e4d26dc 100644 --- a/status/kube.sh +++ b/status/kube.sh @@ -3,7 +3,7 @@ show_kube() { local index icon color text context_color namespace_color symbol_enabled module - tmux_batch_setup_module "kube" + tmux_batch_setup_status_module "kube" add_tmux_batch_option "@catppuccin_kube_context_color" add_tmux_batch_option "@catppuccin_kube_namespace_color" diff --git a/status/load.sh b/status/load.sh index 181fbd75..6a87a47d 100644 --- a/status/load.sh +++ b/status/load.sh @@ -1,7 +1,7 @@ show_load() { local index icon color text module - tmux_batch_setup_module "load" + tmux_batch_setup_status_module "load" run_tmux_batch_commands index=$1 diff --git a/status/pomodoro_plus.sh b/status/pomodoro_plus.sh index 5fa2bb13..48bcab79 100644 --- a/status/pomodoro_plus.sh +++ b/status/pomodoro_plus.sh @@ -3,7 +3,7 @@ show_pomodoro_plus() { local index icon color text module - tmux_batch_setup_module "pomodoro_plus" + tmux_batch_setup_status_module "pomodoro_plus" run_tmux_batch_commands index=$1 diff --git a/status/session.sh b/status/session.sh index 9728a6ec..d7c3c193 100644 --- a/status/session.sh +++ b/status/session.sh @@ -1,7 +1,7 @@ show_session() { local index icon color text module - tmux_batch_setup_module "session" + tmux_batch_setup_status_module "session" run_tmux_batch_commands index=$1 diff --git a/status/uptime.sh b/status/uptime.sh index b8b4c5a6..2b357be8 100644 --- a/status/uptime.sh +++ b/status/uptime.sh @@ -1,7 +1,7 @@ show_uptime() { local index icon color text module - tmux_batch_setup_module "uptime" + tmux_batch_setup_status_module "uptime" run_tmux_batch_commands index=$1 diff --git a/status/user.sh b/status/user.sh index 2db71fca..217b44c6 100644 --- a/status/user.sh +++ b/status/user.sh @@ -1,7 +1,7 @@ show_user() { local index icon color text module - tmux_batch_setup_module "user" + tmux_batch_setup_status_module "user" run_tmux_batch_commands index=$1 diff --git a/status/weather.sh b/status/weather.sh index c268eb21..c6bfbc2a 100644 --- a/status/weather.sh +++ b/status/weather.sh @@ -3,7 +3,7 @@ show_weather() { local index icon color text module - tmux_batch_setup_module "weather" + tmux_batch_setup_status_module "weather" run_tmux_batch_commands index=$1 diff --git a/utils/tmux_utils.sh b/utils/tmux_utils.sh index 7e58b149..7aa31512 100644 --- a/utils/tmux_utils.sh +++ b/utils/tmux_utils.sh @@ -133,7 +133,7 @@ run_tmux_batch_commands() { tmux_batch_options_commands=() } -tmux_batch_setup_module() { +tmux_batch_setup_status_module() { local name="$1" # Don't want to run commands set before since we can't update