Re: Shell script, Amarok currently playing.. need some help
I would also add that you should avoid calling qdbus multiple times. It's easy enough to save the output in a shell variable and then grep that. Or pipe the output to a script which will do the parsing in one pass.
|