I have written a little shell script which starts an mplayer instance for a video background in i3; Arch. Now, I want to kill that process every 15 seconds and start it again. But, since that background will run all the time, killing by name would lead to "iCantUseMplayerAnymorePlzHelp" So, how can I kill just that process?
For the bg I execute the following:
mplayer -loop 0 -rootwin -ao null -noconsolecontrols -fs VIDEOPATH