Configuration

Config file locations

You can use a custom configuration path by using the -c argument

Platform Location
Windows C:\Users\user\AppData\Roaming\InioX\matugen\config\config.toml
Linux/Unix /home/user/.config/matugen/config.toml
MacOS /Users/user/Library/Application Support/com.InioX.matugen/config.toml

Example Configuration

The example config.toml file has comments for every option in the config.

Basic Syntax

Adding templates

# config_directory/config.toml

[templates.test] # First way of adding template
input_path = '~/.config/example/template.css'
output_path = '~/.config/example'

[templates] # Another way
test2 = { input_path = '~/.config/example/template2.css', output_path = '~/.config/example2' }

Template hooks

[templates.test]
# input_path = "some/path"
# output_path = "some/path"
pre_hook = 'echo "hello world"'
post_hook = "cat /some/file.txt"