mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Re-add camtoggle with dmenu prompt for devices
This commit is contained in:
parent
14474349c4
commit
38e73e01ff
4
.local/bin/camtoggle
Normal file
4
.local/bin/camtoggle
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
camera="$(ls /dev/video? | dmenu -i -p "Select Camera")"
|
||||||
|
mpv --no-osc --no-input-default-bindings --input-conf=/dev/null --geometry=-0-0 --autofit=30% --title="mpvfloat" --profile=low-latency --untimed av://v4l2:$camera
|
||||||
Loading…
x
Reference in New Issue
Block a user