voidrice/.scripts/record
2018-04-10 17:43:40 -07:00

8 lines
345 B
Bash
Executable file

#!/bin/bash
# A dmenu recording prompt for my different
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 ;;
"Audio only") (pgrep -x pulse audio && audio_pulse.sh) || audio_alsa.sh ;;
"Video only") video.sh ;;
esac