Score:0

How can I send streaming output (like from the command "vnstat -l") to Conkey?

mf flag

I test-run the commands I want to include on my .conkyrc file by first running them on the CLI. I have been running this command successfully on the CLI...

vnstat --json -l | jq '.rx["ratestring"], .tx["ratestring"]'

but am unable to make it work when I "conky-fy" it.

${execp vnstat --json -l | jq '.rx["ratestring"], .tx["ratestring"]'}

Any suggestions? I'm guessing it either has something to do with the fact that it's a streaming output, or perhaps conky doesn't play nice with third party apps like jq?

TkqiQvGx avatar
mf flag
For future visitors -- well, it seems like streaming output is indeed the issue here, but ultimately I was just trying to get my up/down speeds to print live, and I've since learned there's already a conky command for these: upspeed and downspeed
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.