Re: Post your .conkyrc files w/ screenshots
Originally Posted by
mobilediesel
Damn. Silly me, I didn't actually try it with conky. It works just fine on command line like you said and NOTHING in conky..
EDIT: I just realized, it says
Code:
sh: Syntax error: Unterminated quoted string
and the curl script works fine in the BASH command line!
ok, who knows how to get conky to run stuff using bash instead of sh?
EDIT: again: I tried adding
in front of the curl statement. Still doesn't work.
The way I got it to work was I randomly deleted some string that was in one of the examples I got. I took Crinos' idea:
Code:
${execpi 3600 curl --silent 'http://dailyatheistquote.com/' | sed '{:q;N;s/\n/ /g;t q}'| grep -o '<div id="quote">[^<]*'| sed -e 's/<div id=\"quote\">[[:blank:]]*//;s/[[:blank:]]*$//' -e 's/ $//g' -e 's/\"/\"/' | fold -sw 60 | sed -e 's/^/\${offset 200}/' -e 's/\"/\"/'}
And I quite literally just deleted the part in red. I have no idea what that piece does, but I deleted it and it made it work. Dunno how to make the longer code work, though.
Want me to punchisize your face, For free??
Bookmarks