Posted by member 28487 on 2004-05-20 05:05:02
Is there a simple way to do this?
I want to add some theme specific code to my personal.rc, along the lines of
I don't think the syntax I've used is right, I suppose thats another thing I am asking.
I know $ThemeDir$ would have the folder name of the theme, which is what I need, but does it store the full path and if so, how can the theme name be retrieved from this?
Thanks.
I want to add some theme specific code to my personal.rc, along the lines of
IF LoadedTheme == "austerity"
// run code
ELSE IF LoadedTheme == "another_theme"
// more code
ELSE IF LoadedTheme == "yet_another"
// and some more
ENDIF
// run code
ELSE IF LoadedTheme == "another_theme"
// more code
ELSE IF LoadedTheme == "yet_another"
// and some more
ENDIF
I don't think the syntax I've used is right, I suppose thats another thing I am asking.
I know $ThemeDir$ would have the folder name of the theme, which is what I need, but does it store the full path and if so, how can the theme name be retrieved from this?
Thanks.