feat: pane default format sh

This commit is contained in:
Emil Toivainen 2024-01-10 15:41:38 +02:00
parent 8f12a36d38
commit 17c3e24297
2 changed files with 15 additions and 0 deletions

View file

@ -268,6 +268,7 @@ load_modules() {
local modules_custom_path=$PLUGIN_DIR/custom
local modules_status_path=$PLUGIN_DIR/status
local modules_window_path=$PLUGIN_DIR/window
local modules_pane_path=$PLUGIN_DIR/pane
local module_index=0;
local module_name
@ -307,6 +308,9 @@ load_modules() {
local module_path=$modules_window_path/$module_name.sh
source $module_path
local module_path=$modules_pane_path/$module_name.sh
source $module_path
if [ 0 -eq $? ]
then
loaded_modules="$loaded_modules$( show_$module_name $module_index )"