| The Following User Says Thank You to Schturman For This Useful Post: | ||
|
|
2013-04-28
, 16:30
|
|
|
Community Council |
Posts: 664 |
Thanked: 1,648 times |
Joined on Apr 2012
@ Hamburg
|
#832
|
| The Following User Says Thank You to Win7Mac For This Useful Post: | ||
|
|
2013-04-28
, 20:19
|
|
Posts: 69 |
Thanked: 68 times |
Joined on Jul 2012
|
#833
|
|
|
2013-04-29
, 06:40
|
|
|
Posts: 1,390 |
Thanked: 4,262 times |
Joined on Sep 2007
@ Vienna, Austria
|
#834
|
@thp
Will some of these scripts be sanctioned and implemented in some future updates?
| The Following 4 Users Say Thank You to thp For This Useful Post: | ||
|
|
2013-04-29
, 06:42
|
|
|
Posts: 1,390 |
Thanked: 4,262 times |
Joined on Sep 2007
@ Vienna, Austria
|
#835
|
@thp I have a short but essential question, is it possible for you to implement multiple profiles, e.g. to switch between lockscreens by using profilematic, scripts etc.?
| The Following User Says Thank You to thp For This Useful Post: | ||
|
|
2013-04-29
, 11:57
|
|
|
Posts: 548 |
Thanked: 562 times |
Joined on Aug 2011
@ Germany
|
#836
|
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

|
|
2013-04-29
, 12:24
|
|
Posts: 277 |
Thanked: 319 times |
Joined on Jan 2010
|
#837
|
Can someone tell me please how to change this script to set a color for a seperate status (e.g. : online = green and offline= red)?!
#!/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="{{green}}В сети" ;;
connecting) reply="{{yellow}}Подключается" ;;
offline) reply="{{red}}Не в сети" ;;
*) reply="Закрыт" ;;
esac
echo -n $reply
| The Following User Says Thank You to slarti For This Useful Post: | ||
|
|
2013-04-29
, 16:05
|
|
|
Posts: 548 |
Thanked: 562 times |
Joined on Aug 2011
@ Germany
|
#838
|
#!/bin/sh
percent=$(qdbus --system com.nokia.csd /com/nokia/csd/csnet com.nokia.csd.CSNet.SignalStrength.SignalPercent)
if [ $percent -eq -1 ]; then echo -n "{{red}}Flugmodus"; exit; fi
echo -n "{{white}}"
echo -n $percent
color="green"
if [ $percent -le 50 ]; then color="yellow"; fi
if [ $percent -le 20 ]; then color="red"; fi
echo -n "% {{$color}}{{="
echo -n $(($percent/100)).$((($percent%100)/10))$(($percent%10))
echo -n "}}"
|
|
2013-04-29
, 17:26
|
|
|
Posts: 6,431 |
Thanked: 12,683 times |
Joined on Nov 2011
@ Open Mobile Platform, Innopolis, Russia
|
#839
|
| The Following User Says Thank You to coderus For This Useful Post: | ||
|
|
2013-04-29
, 18:59
|
|
Posts: 69 |
Thanked: 68 times |
Joined on Jul 2012
|
#840
|

Also it;s a little strange that LPS not show me date in Hebrew, because my Notification screen + Lock screen + status bar show me date in Hebrew automatically...
Lausanne & Lyon de descente...
----------------
Schturman's home page
Schturman's repo on openrepos
RPM packaging directly on your Jolla phone.
Root & User SSH access to Jolla via WinSCP.
Root and User SSH access to Jolla via Nautilus on Linux PC.