mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2025-10-07 07:22:36 +02:00
record script fix
This commit is contained in:
parent
a2f7435e31
commit
c003ba9c34
@ -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() { \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user