The Following User Says Thank You to thp For This Useful Post: | ||
|
2013-05-13
, 14:56
|
Posts: 29 |
Thanked: 3 times |
Joined on May 2013
@ Karachi
|
#872
|
Did you read the "Help/About" page of Billboard? It clearly says:
Btw, you may want to get that keyboard of yours checkedCode:<</path/to/image.png>> for a normal image <</path/to/image.png#>> for an image with dithering
|
2013-05-14
, 09:47
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#873
|
The Following 2 Users Say Thank You to thp For This Useful Post: | ||
|
2013-05-14
, 09:56
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#875
|
|
2013-05-16
, 11:04
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#876
|
|
2013-05-17
, 20:28
|
Posts: 64 |
Thanked: 117 times |
Joined on Aug 2010
|
#877
|
mybattery.py:Code:{script:python /home/user/mybattery.py {battery}}
Code:import sys battery = int(sys.argv[1]) if battery < 50: print 'Battery getting low' else: print 'You should be fine'
import sys battery = int(sys.argv[1]) if battery < 10: print '<</home/user/billboard/icons/battery10-yellow.png>>' elif battery < 20: print '<</home/user/billboard/icons/battery10-red.png>>' elif battery < 30: print '<</home/user/billboard/icons/battery20-red.png>>' elif battery < 40: print '<</home/user/billboard/icons/battery30-red.png>>' elif battery < 50: print '<</home/user/billboard/icons/battery40-red.png>>' elif battery < 60: print '<</home/user/billboard/icons/battery50-red.png>>' elif battery < 70: print '<</home/user/billboard/icons/battery60-red.png>>' elif battery < 80: print '<</home/user/billboard/icons/battery70-red.png>>' elif battery < 90: print '<</home/user/billboard/icons/battery80-red.png>>' else: print '<</home/user/billboard/icons/battery90-red.png>>'
import sys battery = int(sys.argv[1]) print "<</home/user/billboard/icons/battery/battery_{0:03d}.png>>".format(battery)
The Following User Says Thank You to SaiKo For This Useful Post: | ||
|
2013-05-18
, 06:33
|
Posts: 277 |
Thanked: 235 times |
Joined on Jan 2012
|
#878
|
|
2013-05-19
, 12:30
|
Posts: 179 |
Thanked: 108 times |
Joined on Dec 2011
@ Bangalore
|
#879
|
The Following User Says Thank You to danested For This Useful Post: | ||
|
2013-05-19
, 22:01
|
Posts: 87 |
Thanked: 14 times |
Joined on Jan 2012
|
#880
|
{script:python /home/user/mybattery.py {battery}}
{script: /home/user/alarm.sh {alarm-present}}
{script: /home/user/bluetoothicon.py}
The Following User Says Thank You to herno24 For This Useful Post: | ||
thp.io - thpmaemo blog - N9 apps in Nokia Store