aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--dot_config/waybar/executable_webcam-status.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/dot_config/waybar/executable_webcam-status.sh b/dot_config/waybar/executable_webcam-status.sh
index f55a2d0..2441039 100644
--- a/dot_config/waybar/executable_webcam-status.sh
+++ b/dot_config/waybar/executable_webcam-status.sh
@@ -11,6 +11,7 @@ esac
# fuser exits 0 when at least one device has an opener, 1 otherwise. Stderr
# carries 'PID' for each match; redirect it away.
+# shellcheck disable=SC2086 # $devs is an intentional space-separated list of paths
if fuser $devs >/dev/null 2>&1; then
printf '{"text":"󰕧","tooltip":"webcam in use","class":"active","alt":"active"}\n'
else