package segments

import (
	"oh-my-posh/environment"
	"oh-my-posh/properties"
)

type Root struct {
	props properties.Properties
	env   environment.Environment
}

func (rt *Root) Template() string {
	return " \uF0E7 "
}

func (rt *Root) Enabled() bool {
	return rt.env.Root()
}

func (rt *Root) Init(props properties.Properties, env environment.Environment) {
	rt.props = props
	rt.env = env
}
