Conky/Dzen2 and variables from shell -
i'm trying make dzen2 stuff, have hard time on 1 point. want eval color variable between conky , dzen2.
something that:
colors :
#!/bin/zsh ################################# ## colors dzen2 status bar ## ################################# ## ## test colors ## color_test='#000000'
conkyrc :
################################# ## conky 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, nothing sucessfull. if have idea, nice.
thanks anyway
have day
edit:
if can't find solution main question, what's best idea?
- lua/conky (i think it's not bad)
- shell/dzen2 (performance not amazing last time tried that)
- a full program in c++ (a little overkill, , conky generic)
how use ${execp my-dzen-help.sh getcolors }, in conky ?
#my-dzen-help.sh getcolors(){ printf '^fg($$color_test)'; # or .... }
Comments
Post a Comment