feat(custom): fix custom/README.md format

This commit is contained in:
Valentin Uveges 2023-08-10 09:21:42 +03:00
parent eadc07c414
commit 97917d0e52

View file

@ -18,7 +18,7 @@ set -g @catppuccin_status_modules "... <module_name> ..."
``` ```
## Module template ## Module template
```sh
show_<module_name>() { # save this module in a file with the name <module_name>.sh show_<module_name>() { # save this module in a file with the name <module_name>.sh
local index=$1 # this variable is used by the module loader in order to know the position of this module local index=$1 # this variable is used by the module loader in order to know the position of this module
local icon="$(get_tmux_option "@catppuccin_<module_name>_icon" "<Use an icon from [nerdfonts](https://www.nerdfonts.com/cheat-sheet)>")" local icon="$(get_tmux_option "@catppuccin_<module_name>_icon" "<Use an icon from [nerdfonts](https://www.nerdfonts.com/cheat-sheet)>")"
@ -29,3 +29,4 @@ show_<module_name>() { # save this module in a file with the name <module_name>.
echo $module echo $module
} }
```