You are not logged in.
Pages: 1
Hi,
I use conky for dzen2 piping.
For setting colors, I need to output the "#" symbol.
But conky things, the symbol starts a comment.
Can i somehow make conky to output the symbol?
Thanks!
Nathanh
Offline
Quote it?
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Hi,
I am not sure, what you mean with "Quote it".
But if you mean this:
\#
or
"#"
both variants to not work
Offline
As fair as I know conky doesn't allow comments after the TEXT part, it should print everything...
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
I read that too ...
what does this output on your systems:
background no
out_to_console yes
out_to_x no
update_interval 1.0
total_run_times 0
TEXT
#Hallo
Again Hallo
In my case, the output is just "Again Hallo"
Offline
Using conky-cli with dzen2, if I use a single line output #Hallo Hallo then I see nothing in my dzen2 bar. If I reverse the two and put Hallo#Hallo it all outputs fine. As long as the # symbol isn't the first character, conky will output it to dzen2, in my case anyway.
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
I read that too ...
what does this output on your systems:
background no
out_to_console yes
out_to_x no
update_interval 1.0
total_run_times 0TEXT
#Hallo
Again HalloIn my case, the output is just "Again Hallo"
FYI, using the normal conky my output is "Again Hallo" too.
"I'm Winston Wolfe. I solve problems."
~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~
Offline
Using normal conky now--thanks again moljac024--and it definately ignores everything after a # sign now.
I use a long execi with echo to show the temp on my AMD cpu and so I thought i'd try using something like that. It's a roundabout way to display the # sign but I tried it and it works.
${execi 5 echo "#"}
But there must be a simpler way to do this???
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
Downgrade to 1.7.0. For me the functionality was broken in 1.7.1.
Cthulhu For President!
Offline
psuedo-old thread, oh well.
i was annoyed by this as well... glad i found your hack, erm fix. i submitted this as a bug to conky but they rejected it saying ppl need to put comments after TEXT. who's putting comments after TEXT?
anyways, i use
TEXT
^fg(${execi 3600 echo "#909090"})Some light grey text^fg() Some normal text
and it works wonderfully in my dzen (though i suppose the interval could be as big as one wanted to save resources).
again, thanks for the workaround .
//github/
Offline
http://conky.sourceforge.net/changelog.html
2009-05-09
Allow the use of '#' for comments within text area (can be escaped with '\#')
Doesn't work, though
Last edited by Boris Bolgradov (2009-07-19 07:58:30)
Offline
Pages: 1