Menu

variables in theme files?

Help
Sarah Elan
2003-08-12
2003-08-14
  • Sarah Elan

    Sarah Elan - 2003-08-12

    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!

     
    • Sarah Elan

      Sarah Elan - 2003-08-14

      Never mind, I understand why that is difficult.

      Thanks for this great tool!

       

Log in to post a comment.