summaryrefslogtreecommitdiffstats
path: root/.scripts/record
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-04-10 17:43:40 -0700
committerLuke Smith <luke@lukesmith.xyz>2018-04-10 17:43:40 -0700
commit2dc5e822334a2d0fb6860f9b55f91b2e328a2ad6 (patch)
tree63d2255587f79f7fbc0182d87b7a9c8d699bfebd /.scripts/record
parente75e7b680f8f5cce5a89dadc4c5514a8eee74811 (diff)
downloadeibhear-2dc5e822334a2d0fb6860f9b55f91b2e328a2ad6.tar.gz
eibhear-2dc5e822334a2d0fb6860f9b55f91b2e328a2ad6.tar.zst
eibhear-2dc5e822334a2d0fb6860f9b55f91b2e328a2ad6.zip
dmenu recording, mounting and umounted added
Diffstat (limited to '.scripts/record')
-rwxr-xr-x.scripts/record8
1 files changed, 8 insertions, 0 deletions
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