fix paths

This commit is contained in:
Ray Elliott 2020-10-27 10:58:09 +00:00
parent b8539e4b6b
commit 122d7d97e8
1 changed files with 4 additions and 4 deletions

8
launch
View File

@ -1,11 +1,11 @@
#!/bin/sh #!/bin/sh
_cam_dir='/home/ray/mpv-cam-views/' _cam_dir='/usr/local/src/mpv-cam/cams'
_qualities="360\n480\n720\n1080" _qualities="360\n480\n720\n1080\n2560"
_file="$(ls cams | dmenu)" _file="$(ls $_cam_dir | dmenu)"
_url="$(cat cams/$_file)" _url="$(cat $_cam_dir/$_file)"
_quality="$(echo -e $_qualities | dmenu)" _quality="$(echo -e $_qualities | dmenu)"
echo "Playing '$_file' at $_quality ($_url)" echo "Playing '$_file' at $_quality ($_url)"