example: default theme
g -theme=path/to/theme [other options] path
add Theme: $location
to your profile. $location
can be found by g --help
like this:
> g --help
# ...
CONFIG:
Configuration: /Users/equationzhao/Library/Application Support/g/g.yaml
See More at: g.equationzhao.space
# ...
here is an example of setting custom theme in the config file:
Args:
- hyperlink=never
- icons
- disable-index
CustomTreeStyle:
Child: "βββ "
LastChild: "β°ββ "
Mid: "β "
Empty: " "
Theme: /Users/equationzhao/g/internal/theme/your_custom_theme.json
the custom theme must be placed in the theme directory and named custom_builtin.json (theme/custom_builtin.json)
go build -tags=custom .