feat(custom): fix custom/README.md format
This commit is contained in:
parent
eadc07c414
commit
97917d0e52
1 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,7 @@ set -g @catppuccin_status_modules "... <module_name> ..."
|
|||
```
|
||||
|
||||
## Module template
|
||||
|
||||
```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 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
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue