dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit c003ba9c34636cf94efdad07df93019e002f3bd8
parent a2f7435e31413b22f74beb097bb7773147d5ca42
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sat, 29 Sep 2018 15:51:45 -0400

record script fix

Diffstat:
M.scripts/dmenurecord | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/.scripts/dmenurecord b/.scripts/dmenurecord @@ -71,13 +71,18 @@ audiopulse() { \ audioalsa() { \ ffmpeg -y \ -f alsa -ar 44100 -i hw:1 \ - "$HOME/audio-$(date '+%y%m%d-%H%M-%S').mkv" & + "$HOME/audio-$(date '+%y%m%d-%H%M-%S').flac" & echo $! > ~/.recordingpid updateicon "🎙️" } askrecording() { \ - printf "screencast\\nvideo\\naudio" | dmenu -i -p "Select recording style:" + choice=$(printf "screencast\\nvideo\\naudio" | dmenu -i -p "Select recording style:") + case "$choice" in + screencast) screencastpulse;; + audio) audiopulse;; + video) video;; + esac } asktoend() { \