lots of fixes, improvements, t12 stuff
[distro-setup] / xl
diff --git a/xl b/xl
index cff3992a4ac232874bb3dcb34d01ac294a85e398..0751729f22e244e21ba2d3609c7d147c0836d6c1 100755 (executable)
--- a/xl
+++ b/xl
 # 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.