![]() |
Re: [Support thread] Billboard Standby Screen
Quote:
{propertyname?abc} is "output abc if propertyname is not empty" {propertyname!abc} is "output abc if propertyname is empty" The "not empty" part is also why {wazapp-status?abc} doesn't do what you expect - it won't be empty when you are offline (it will evaluate to "offline" instead). The reason why the "?" doesn't output the property name is that you can do something like this: Code:
{song?Now playing: }{song}{song? |
Re: [Support thread] Billboard Standby Screen
Thanks, the Bluetooth status icon scripts have been merged. I wonder if we should also (in a subdirectory) include scripts such as resetting the data counters, forcing the update by re-setting the text, etc.. in the "billboard-scripts" repository, even if some of them don't really depend on Billboard - what do you think?
|
Re: [Support thread] Billboard Standby Screen
Quote:
Coderus, do you know how to set an event to the timed daemon using a shell or python script? I know that on the system bus there is: Code:
com.nokia.time /com/nokia/time com.nokia.time.add_event(QDBus [/offtopic] |
Re: [Support thread] Billboard Standby Screen
Quote:
Edit: I just remembered there is one more script that has to do with Billboard in the ProfileMatic thread. |
Re: [Support thread] Billboard Standby Screen
Hi !
I would like a 'nameday' (swedish) script, it would be nice to show it on the Billboard screen. Has anyone the knowledge to do that ? ( I can't). |
Re: [Support thread] Billboard Standby Screen
Quote:
http://stjarnhimlen.se/ndag/ndag2001.html Then you could start by transforming that page into a text file (one day per line) in a way that you can parse by a script and then write a small shell script that greps the right day out of it, e.g.: Code:
~ $ cat nameday.txt |
Re: [Support thread] Billboard Standby Screen
@slarti i only used Timed in C++. not sure about python module for timed.
|
Re: [Support thread] Billboard Standby Screen
Quote:
|
Re: [Support thread] Billboard Standby Screen
Hi
I would like to use the "color-battery-bar" property in such a way, that it would change color when battery level goes below 30%. I have tried to find it out myself, but as I know absolutely nothing about coding this is not easy. I tried with http://docs.python.org/2/tutorial/ and came up with idea of using an IF-statement. But I can't make it to work, maybe somebody could help me? I am way too lost here... if [ {color-battery-bar} {battery} >30 ] then echo {{green}}"%" else echo {{red}}"%" |
Re: [Support thread] Billboard Standby Screen
Quote:
|
All times are GMT. The time now is 21:31. |
vBulletin® Version 3.8.8