X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=xl;fp=xl;h=0751729f22e244e21ba2d3609c7d147c0836d6c1;hb=f27b67a1dfa58b5f101bba607b2f91a73e65299e;hp=cff3992a4ac232874bb3dcb34d01ac294a85e398;hpb=7ed3b98c4d3678d982c33741f1f42727144e66ce;p=distro-setup diff --git a/xl b/xl index cff3992..0751729 100755 --- a/xl +++ b/xl @@ -20,6 +20,10 @@ # See the License for the specific language governing permissions and # limitations under the License. +if pkill -f ^ffmpeg.\*icecast://source.\*/fsf; then + dunstify -h string:x-dunst-stack-tag:alert "stream killed" + exit 0 +fi if pgrep gnome-screensav &>/dev/null; then # this command actually starts gnome-screensaver if it isn\'t running.