Results 1 to 2 of 2
i'm adding f@h to my conky read out. heres that part:
Code:
${font sans-serif:bold:size=8}${color FF9900}FOLDING AT HOME ${hr 2}${font sans-serif:normal:size=8}
${color yellow}${execi 15 cat /var/lib/fahclient/log.txt | tr '(' '\n' |tr ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-05-2012 #1Just Joined!
- Join Date
- Mar 2012
- Location
- Halifax Nova Scotia Canada
- Posts
- 72
conky
i'm adding f@h to my conky read out. heres that part:
this is what happens:Code:${font sans-serif:bold:size=8}${color FF9900}FOLDING AT HOME ${hr 2}${font sans-serif:normal:size=8} ${color yellow}${execi 15 cat /var/lib/fahclient/log.txt | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%'} % ${execbar echo "scale=2; $(cat /var/lib/fahclient/log.txt | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%')/100" | bc -q}
conky.jpg
as you can see I have the percentage read out but not the progress bar. any one care to help?
- 07-05-2012 #2Just Joined!
- Join Date
- Mar 2012
- Location
- Halifax Nova Scotia Canada
- Posts
- 72
it is this part:
${execbar echo "scale=2; $(cat /var/lib/fahclient/log.txt | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%')/100" | bc -q}
that is failing. how can I make the percentage I get from this:
${color yellow}${execi 15 cat /var/lib/fahclient/log.txt | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%'} %
into a progress bar I can mount below?


Reply With Quote
