View Single Post
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#761
Originally Posted by herno24 View Post
Yes, i don't know, i works because via terminal it shows the path of the icons but billboard desn't show it.
The magic line is this:

{script: develsh signalbar.sh}

Originally Posted by thp View Post
You can't nest {} like that in Billboard. I'll see what I can do for future versions. You can work around that by doing the checking in the script and removing the {network-name? } around it.
I may have been the one to suggest doing this...
It does work when the property is not empty. For example, {battery?{script:sh battery.sh}} works as expected. When the property is empty, the trouble starts.

Originally Posted by Win7Mac View Post
And how do I call network-name with a script?
Code:
networkname=$(qdbus --system com.nokia.icd2.context /org/maemo/contextkit/Internet/NetworkName org.maemo.contextkit.Property.Get | sed q)
 

The Following User Says Thank You to slarti For This Useful Post: