View Single Post
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#722
Originally Posted by Win7Mac View Post
This script.
I want the {cell-signal-strength} inline with signal bar and have it the same color.
Thanks.
Ok, you shouldn't put the tag in to the script but you should call the script with it.

{cell-signal-strength?{script: sh signalbar.sh}}

This ties the execution of the script to changes in the property.

The $percent variable in your script has the exact same value as the {cell-signal-strentgh} property at that time, so use that.

P.S.

The image produced by my previous image tag is just for signal strength in bars (0 bars for no signal and 5 bars for max). Just like on the normal status bar.

Last edited by slarti; 2013-03-21 at 12:53.
 

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