-
Notifications
You must be signed in to change notification settings - Fork 18
Hooks
ini edited this page Nov 3, 2024
·
2 revisions
You can use hooks inside the [templates]
section of the config.toml
file and also in [config.wallpaper.pre_hook]
-
pre_hook
: Executes a command inside the string BEFORE the template is generated -
post_hook
: Executes a command inside the string AFTER the template is generated
[templates.test]
input_path = "some/path"
output_path = "some/path"
pre_hook = 'echo "hello world"'
post_hook = "cat /some/file.txt"