add prompts

This commit is contained in:
Ray Elliott 2020-10-27 11:01:04 +00:00
parent 122d7d97e8
commit 2d0bc42f4f
1 changed files with 2 additions and 2 deletions

4
launch
View File

@ -4,9 +4,9 @@ _cam_dir='/usr/local/src/mpv-cam/cams'
_qualities="360\n480\n720\n1080\n2560"
_file="$(ls $_cam_dir | dmenu)"
_file="$(ls $_cam_dir | dmenu -p 'Feed:')"
_url="$(cat $_cam_dir/$_file)"
_quality="$(echo -e $_qualities | dmenu)"
_quality="$(echo -e $_qualities | dmenu -p 'Max quality:')"
echo "Playing '$_file' at $_quality ($_url)"