|
2012-12-14
, 19:26
|
Posts: 4 |
Thanked: 0 times |
Joined on Dec 2012
|
#332
|
|
2012-12-14
, 19:28
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#333
|
#!/bin/sh reply="" if $(qdbus | grep org.tgalal.wazapp > /dev/null) then reply=`qdbus org.tgalal.wazapp /org/maemo/contextkit/Wazapp/Online org.maemo.contextkit.Property.Get | sed -n 1p` fi case $reply in online) reply="В сети" ;; connecting) reply="Подключается" ;; offline) reply="Не в сети" ;; *) reply="Закрыт" ;; esac echo -n $reply
The Following 2 Users Say Thank You to coderus For This Useful Post: | ||
|
2012-12-14
, 22:29
|
|
Posts: 597 |
Thanked: 490 times |
Joined on Dec 2009
@ Germany
|
#334
|
#!/bin/sh reply="" if $(qdbus | grep org.tgalal.wazapp > /dev/null) then reply=`qdbus org.tgalal.wazapp /org/maemo/contextkit/Wazapp/Online org.maemo.contextkit.Property.Get | sed -n 1p` fi case $reply in online) reply="★" ;; connecting) reply="♻" ;; offline) reply="☆" ;; *) reply="⚠" ;; esac echo -n $reply
The Following 2 Users Say Thank You to Reflektorfalke For This Useful Post: | ||
|
2012-12-14
, 22:46
|
|
Posts: 597 |
Thanked: 490 times |
Joined on Dec 2009
@ Germany
|
#335
|
|
2012-12-14
, 23:05
|
Posts: 87 |
Thanked: 14 times |
Joined on Jan 2012
|
#336
|
for wazapp:Code:#!/bin/sh reply="" if $(qdbus | grep org.tgalal.wazapp > /dev/null) then reply=`qdbus org.tgalal.wazapp /org/maemo/contextkit/Wazapp/Online org.maemo.contextkit.Property.Get | sed -n 1p` fi case $reply in online) reply="В сети" ;; connecting) reply="Подключается" ;; offline) reply="Не в сети" ;; *) reply="Закрыт" ;; esac echo -n $reply
|
2012-12-14
, 23:13
|
|
Posts: 597 |
Thanked: 490 times |
Joined on Dec 2009
@ Germany
|
#337
|
Excellent! And how to add a color to each reply?. Is it possible?. Thanks.
The Following 2 Users Say Thank You to Reflektorfalke For This Useful Post: | ||
|
2012-12-14
, 23:36
|
Posts: 661 |
Thanked: 690 times |
Joined on Jul 2007
|
#338
|
|
2012-12-14
, 23:54
|
Posts: 87 |
Thanked: 14 times |
Joined on Jan 2012
|
#339
|
Yes, its possible, simply add {{color}} in front of reply, while "color" can be red, cyan, green, blue, magenta and yellow.
Like this:
reply="{{color}}<replyvalue>"
|
2012-12-15
, 06:00
|
Posts: 87 |
Thanked: 26 times |
Joined on Mar 2010
@ Canada
|
#340
|
In the screenshot I used _____ (underscores), guess this is what you mean with black separating line.
------------------------------------------------------------
Bluetooth PBAP-Profile/Carkit support - Check Wiki-Page
Sociality FB-Client, MAG strikes again - Check Wiki-Page
QNeptunea -Best Twitter Client for N9/N950 - HowTo Create Themes