mjheagle8
February 22nd, 2009, 02:06 AM
i'm trying to run a command every 15 seconds.
the command is
pkill feh&&feh -g 70x70 $(dcop amarok player coverImage)&
which is intended to display the current amarok album art in a small box.
i tried
watch -n 15 'pkill feh&&feh -g 70x70 $(dcop amarok player coverImage)&'
that'll launch the one feh, but wont kill and restart it every 15 seconds as i specified. what am i doing wrong? or is there an easier way to accomplish my goal?
thanks in advance for any and all help.
the command is
pkill feh&&feh -g 70x70 $(dcop amarok player coverImage)&
which is intended to display the current amarok album art in a small box.
i tried
watch -n 15 'pkill feh&&feh -g 70x70 $(dcop amarok player coverImage)&'
that'll launch the one feh, but wont kill and restart it every 15 seconds as i specified. what am i doing wrong? or is there an easier way to accomplish my goal?
thanks in advance for any and all help.