View Full Version : [ubuntu] conky colors
blur xc
August 11th, 2009, 07:04 PM
Is it possible to assign colors to variables, and use them to define certain colors in your conky script? I find it annoying to have to search and replace so many instances of a color in a script, whenever I try out a different wallpaper.
Thanks,
BM
VCoolio
August 11th, 2009, 10:34 PM
Yes, like this:
color1 white
color2 000000
TEXT
${color1}This is white
${color2}This is black ${color}This is your default_color
You can use the strings (white, dark-grey etc) or #blah codes without the # above text, then refer to them without spaces.
blur xc
August 11th, 2009, 10:43 PM
Dude that's awesome.... thanks!
BM
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.