fix(space): fix isse with whitespace trimming from separators
This commit is contained in:
parent
0c336e4029
commit
7a284c98e5
10 changed files with 11 additions and 11 deletions
|
@ -248,7 +248,7 @@ load_modules() {
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
echo $loaded_modules
|
echo "$loaded_modules"
|
||||||
}
|
}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
|
|
@ -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" )
|
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
||||||
|
|
||||||
echo $module
|
echo "$module"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
show_example() {
|
show_example() {
|
||||||
local index=$1
|
local index=$1
|
||||||
local icon="$(get_tmux_option "@catppuccin_test_icon" "")"
|
local icon="$(get_tmux_option "@catppuccin_test_icon" "")"
|
||||||
local color="$(get_tmux_option "@catppuccin_test_color" "$thm_blue")"
|
local color="$(get_tmux_option "@catppuccin_test_color" "$thm_blue")"
|
||||||
local text="$(get_tmux_option "@catppuccin_test_text" "It works!")"
|
local text="$(get_tmux_option "@catppuccin_test_text" "It works!")"
|
||||||
|
|
||||||
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
||||||
|
|
||||||
echo $module
|
echo "$module"
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,5 +6,5 @@ show_application() {
|
||||||
|
|
||||||
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
||||||
|
|
||||||
echo $module
|
echo "$module"
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,5 +19,5 @@ show_battery() {
|
||||||
|
|
||||||
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
||||||
|
|
||||||
echo $module
|
echo "$module"
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,6 @@ show_date_time() {
|
||||||
|
|
||||||
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
||||||
|
|
||||||
echo $module
|
echo "$module"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,5 +6,5 @@ show_directory() {
|
||||||
|
|
||||||
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
||||||
|
|
||||||
echo $module
|
echo "$module"
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,5 +6,5 @@ show_host() {
|
||||||
|
|
||||||
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
||||||
|
|
||||||
echo $module
|
echo "$module"
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,5 +6,5 @@ show_session() {
|
||||||
|
|
||||||
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
||||||
|
|
||||||
echo $module
|
echo "$module"
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,5 +6,5 @@ show_user() {
|
||||||
|
|
||||||
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
local module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
||||||
|
|
||||||
echo $module
|
echo "$module"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue