New TMUX statusbar and config cleanup
This commit is contained in:
16
config-files/.config/tmux/plugins/theme/custom/example.sh
Normal file
16
config-files/.config/tmux/plugins/theme/custom/example.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
# If this module depends on an external Tmux plugin, say so in a comment.
|
||||
# E.g.: Requires https://github.com/aaronpowell/tmux-weather
|
||||
|
||||
show_test() { # This function name must match the module name!
|
||||
local index icon color text module
|
||||
|
||||
index=$1 # This variable is used internally by the module loader in order to know the position of this module
|
||||
icon="$( get_tmux_option "@catppuccin_test_icon" "" )"
|
||||
color="$( get_tmux_option "@catppuccin_test_color" "$thm_orange" )"
|
||||
text="$( get_tmux_option "@catppuccin_test_text" "hello world" )"
|
||||
|
||||
module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
||||
|
||||
echo "$module"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user