Root Config Name

A function that takes a Rainmeter skin's config name and returns the root config name for that skin.

RootConfigName(Config)

function RootConfigName(Config)
return Config:match('(.-)\\') or Config
end