fix(space): fix isse with whitespace trimming from separators

This commit is contained in:
Valentin Uveges 2023-08-21 08:04:44 +03:00
parent 0c336e4029
commit 7a284c98e5
10 changed files with 11 additions and 11 deletions

View file

@ -248,7 +248,7 @@ load_modules() {
done
echo $loaded_modules
echo "$loaded_modules"
}
main() {

View file

@ -27,6 +27,6 @@ show_<module_name>() { # save this module in a file with the name <module_name>.
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
echo $module
echo "$module"
}
```

View file

@ -6,5 +6,5 @@ show_example() {
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
echo $module
echo "$module"
}

View file

@ -6,5 +6,5 @@ show_application() {
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
echo $module
echo "$module"
}

View file

@ -19,5 +19,5 @@ show_battery() {
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
echo $module
echo "$module"
}

View file

@ -6,6 +6,6 @@ show_date_time() {
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
echo $module
echo "$module"
}

View file

@ -6,5 +6,5 @@ show_directory() {
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
echo $module
echo "$module"
}

View file

@ -6,5 +6,5 @@ show_host() {
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
echo $module
echo "$module"
}

View file

@ -6,5 +6,5 @@ show_session() {
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
echo $module
echo "$module"
}

View file

@ -6,5 +6,5 @@ show_user() {
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
echo $module
echo "$module"
}