View Single Post
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#859
Originally Posted by Schturman View Post
How i can change the limit size of embedded image or of "Show other logo" ? The previous version can show the original size of embedded image and new one can't...
Do you have an example of which logo you want to show and the size, so I can try it locally and see what the problem is? The size has been limited so that dithering a big image doesn't take up too much battery on every update, but if there is a reasonable need for bigger images, I'll gladly add some extra settings to fix that.

Originally Posted by TMavica View Post
i want ask what the use of nest expression?
Originally Posted by MK99 View Post
What is difference on use: {battery} and {ba{script:echo -n tt}ery} ?
Originally Posted by TMavica View Post
I want know that too
The battery example in the photo is a silly one, but you can now do for example pass the battery value to a script and there do something with it:

Code:
{script:python /home/user/mybattery.py {battery}}
mybattery.py:

Code:
import sys

battery = int(sys.argv[1])
if battery < 50:
    print 'Battery getting low'
else:
    print 'You should be fine'
What's also possible now is to use conditions that involve some other value, e.g.

Code:
{network-name?{presence}}
That is, show the presence value only when the network name is not empty (this was not possible in previous versions).
 

The Following 3 Users Say Thank You to thp For This Useful Post: