I'm trying to make some dzen2 stuff, but i have some hard time on one point. I want to eval color variable between conky and dzen2.
Something like that:
Colors :
#!/bin/zsh
#################################
## Colors for Dzen2 status bar ##
#################################
##
## TEST Colors
##
COLOR_TEST='#000000'
Conkyrc :
#################################
## Conky for Dzen2 Status Bar ##
#################################
background no
out_to_console yes
out_to_x no
override_utf8_locale yes
update_interval 1
total_run_times 0
TEXT
##
## TEST
##
^fg($$COLOR_TEST)
Script:
#!/bin/zsh
. ./colors
conky -c conkyrc | dzen2 -p
I tried eval/echo on conky, but nothing sucessfull. If somebody have an idea, it will be really nice.
Thanks anyway
Have a good day
EDIT:
If we can't find a solution about the main question, what's the best idea?
How about to use ${execp my-dzen-help.sh getcolors }, in conky ?
#my-dzen-help.sh
getcolors(){
printf '^fg($$COLOR_TEST)'; # or what ....
}