Hi, I'm making my own fm transmitter widget to match the looks of my other widgets on desktop, and I use this script with QB: Code: #!/bin/bash STATE="`fmtx_client | grep state`" if [ $STATE = "state=disabled" ]; then fmtx_client -p1 fm-boost exit 0 elif [ $STATE = "state=enabled" ]; then fmtx_client -p0 exit 5 fi What I'm trying to do in QB is show image fmtx_on.png when exit status is 0 and fmtx_off.png.5 (I have written "fmtx_off.png" in the >=3 image) when exit status is 5, but for some reason widget shows no images at all. I know that exit statuses are recognised correctly since the background color changes but no images are shown. What could be wrong?
#!/bin/bash STATE="`fmtx_client | grep state`" if [ $STATE = "state=disabled" ]; then fmtx_client -p1 fm-boost exit 0 elif [ $STATE = "state=enabled" ]; then fmtx_client -p0 exit 5 fi