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