Update camera to support arguments to prefill/select a selection
This commit is contained in:
parent
1bf733a4b2
commit
92266cddcb
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ if command -v mpv &> /dev/null && command -v fzf &> /dev/null; then
|
|||
set -euo pipefail
|
||||
|
||||
printf "%s\0" /dev/video* |
|
||||
fzf --print0 --read0 -m -1 --height="$((LINES/4))" |
|
||||
fzf --print0 --read0 --query "${1:-}" -m -1 --height="$((LINES/4))" |
|
||||
xargs -0 -P 0 -I {} mpv \
|
||||
-vf=hflip \
|
||||
--demuxer-lavf-format=video4linux2 \
|
||||
|
|
Loading…
Reference in a new issue