Only offer webcam recording when available

This commit is contained in:
David Heinemeier Hansson
2026-07-23 16:33:12 -07:00
parent 7798ed34b1
commit 2d3d1e2a3c
4 changed files with 25 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
# omarchy:summary=Check whether a webcam is available
v4l2-ctl --list-devices 2>/dev/null | grep -q '^[[:space:]]*/dev/video'