Make dmenurecord use prompt script

This commit is contained in:
appeasementPolitik 2022-08-15 14:53:19 +00:00 committed by GitHub
parent bbcb898aee
commit 70f1f07467
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,10 +91,7 @@ askrecording() { \
esac esac
} }
asktoend() { \ asktoend() { prompt "Recording still active. End recording?" && killrecording }
response=$(printf "No\\nYes" | dmenu -i -p "Recording still active. End recording?") &&
[ "$response" = "Yes" ] && killrecording
}
videoselected() videoselected()
{ {