Is there a way to use variables in theme files? I know that the real power in superkaramba is in using python, but in some cases that seems like overkill.
For example:
A theme with a text meter that uses a program sensor, like "text sensor=program program="grep 'my*pattern' /some/user/file/path" interval=5000". The only information that I need from the user is /some/user/file/path. Is there a way to set
var="/some/user/file/path", either in the theme file itself or in a config file, so that the text meter could be "text sensor=program program="grep 'my*pattern' $var" interval=5000"?
Is there any way to do this? Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there a way to use variables in theme files? I know that the real power in superkaramba is in using python, but in some cases that seems like overkill.
For example:
A theme with a text meter that uses a program sensor, like "text sensor=program program="grep 'my*pattern' /some/user/file/path" interval=5000". The only information that I need from the user is /some/user/file/path. Is there a way to set
var="/some/user/file/path", either in the theme file itself or in a config file, so that the text meter could be "text sensor=program program="grep 'my*pattern' $var" interval=5000"?
Is there any way to do this? Thanks!
Never mind, I understand why that is difficult.
Thanks for this great tool!