Skip to content
Discussion options

You must be logged in to vote

conky.text is read only once when the main config file is first loaded. Some settings in conky.config can be updated dynamically.

You've got a few options:

  • instead of lua_load, put the lua code that gets the information you want to capture once at the beginning of main config file. Then you can concatenate the string you want into conky.text using regular lua concatenation. This is IMO the simplest choice.
  • You can also store the value into a template and then use that template in conky.text if you wish to avoid concatenation.
  • You can leave some space for the value and then manually draw text using cairo from lua.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Caellian
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants