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}>>
#!/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