View Single Post
Posts: 87 | Thanked: 14 times | Joined on Jan 2012
#345
Originally Posted by coderus View Post
for alarm:
Code:
#!/bin/sh

reply=$(qdbus --system com.nokia.time /org/maemo/contextkit/Alarm/Present org.maemo.contextkit.Property.Get | sed -n 1p)
if [ "$reply" == "true" ]; then
echo -n "/usr/share/themes/blanco/meegotouch/icons/icon-s-alarm-inverse.png"
fi
usage:
<<{script:sh /path/to/script.sh}>>
It doesn't work for me. I'm using a Windows pc to save the code into a .sh file, is that the problem?.