Merge pull request #105 from qadzek/patch-1
docs: demonstrate how to use a command or script
This commit is contained in:
commit
12051a2e94
1 changed files with 4 additions and 0 deletions
|
@ -30,3 +30,7 @@ show_<module_name>() { # save this module in a file with the name <module_name>.
|
|||
echo "$module"
|
||||
}
|
||||
```
|
||||
|
||||
To use the output of a command, use e.g. `local text="$(get_tmux_option "@catppuccin_test_text" "#(date +%T)")"`.
|
||||
|
||||
To use the output of a script, use e.g. `local text="$(get_tmux_option "@catppuccin_test_text" "#($HOME/my_script.sh)")"`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue