record script fix for pulseaudio

This commit is contained in:
Luke Smith 2018-04-10 19:14:20 -07:00
parent 87735598d5
commit 484a6fbd27

View file

@ -2,7 +2,7 @@
# A dmenu recording prompt for my different # A dmenu recording prompt for my different
case $(echo -e "Screencast\nVideo only\nAudio only" | dmenu -i -p "Select recording style:") in case $(echo -e "Screencast\nVideo only\nAudio only" | dmenu -i -p "Select recording style:") in
Screencast) (pgrep -x pulse audio && screencast_pulse.sh) || screencast_alsa.sh ;; Screencast) (pgrep -x pulseaudio && screencast_pulse.sh) || screencast_alsa.sh ;;
"Audio only") (pgrep -x pulse audio && audio_pulse.sh) || audio_alsa.sh ;; "Audio only") (pgrep -x pulseaudio && audio_pulse.sh) || audio_alsa.sh ;;
"Video only") video.sh ;; "Video only") video.sh ;;
esac esac