aboutsummaryrefslogtreecommitdiff
path: root/scripts/commands/:camera-off
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/commands/:camera-off')
-rwxr-xr-xscripts/commands/:camera-off3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/commands/:camera-off b/scripts/commands/:camera-off
new file mode 100755
index 0000000..ba1429e
--- /dev/null
+++ b/scripts/commands/:camera-off
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+dsudo modprobe -r uvcvideo && notify-send "Camera turned off" || notify-send "Something went wrong"