2018-04-11 00:43:40 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# A dmenu recording prompt for my different
|
|
|
|
|
|
|
|
case $(echo -e "Screencast\nVideo only\nAudio only" | dmenu -i -p "Select recording style:") in
|
2018-04-11 02:14:20 +00:00
|
|
|
Screencast) (pgrep -x pulseaudio && screencast_pulse.sh) || screencast_alsa.sh ;;
|
|
|
|
"Audio only") (pgrep -x pulseaudio && audio_pulse.sh) || audio_alsa.sh ;;
|
2018-04-11 00:43:40 +00:00
|
|
|
"Video only") video.sh ;;
|
|
|
|
esac
|