From 1a425175c1b6a8b8c99e092fa3b4b8a48fadaece Mon Sep 17 00:00:00 2001 From: jpfeiffer16 Date: Tue, 14 Apr 2020 21:03:18 -0600 Subject: [PATCH] Check if vlc is installed in vlc script --- vlc-hangouts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vlc-hangouts b/vlc-hangouts index e439520..ba01ecf 100755 --- a/vlc-hangouts +++ b/vlc-hangouts @@ -1,5 +1,7 @@ #!/bin/bash +vlc --version > /dev/null 2>&1 || { echo "vlc is not installed" ; exit 1; } + xrandr --listactivemonitors read -p "Which monitor you want to share: " MON_NUMBER # MON_NUMBER=0 # for debugging