helmuthdu / conky_colors

CONKY-colors is an easier way to configure Conky
GNU General Public License v3.0
123 stars 39 forks source link

Colors in Text files #77

Open hollysheep opened 1 year ago

hollysheep commented 1 year ago

Conky is starting a little script that ask the router for all active network devices. At the end i have a simple list

192.168.178.21 tv
192.168.178.22 notebook
192.168.178.23 smartphone

I want to customize the script so that some of the lines are red or green or what else. I have to do this in the script so that the text file passed to conky already contains the color information. something like:

192.168.178.21 tv
${color #ffc11f}192.168.178.22 notebook
192.168.178.23 smartphone

or

192.168.178.21 tv
${color #ffc11f}192.168.178.22 notebook
192.168.178.23 smartphone

But both doesn't work. How can i add color information to the text file so that conky can use it?