From 2dc5e822334a2d0fb6860f9b55f91b2e328a2ad6 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 10 Apr 2018 17:43:40 -0700 Subject: dmenu recording, mounting and umounted added --- .scripts/record | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 .scripts/record (limited to '.scripts/record') diff --git a/.scripts/record b/.scripts/record new file mode 100755 index 0000000..2c941b9 --- /dev/null +++ b/.scripts/record @@ -0,0 +1,8 @@ +#!/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 -- cgit v1.3.1