summaryrefslogtreecommitdiff
path: root/lock
diff options
context:
space:
mode:
Diffstat (limited to 'lock')
-rwxr-xr-xlock6
1 files changed, 6 insertions, 0 deletions
diff --git a/lock b/lock
new file mode 100755
index 0000000..20fa44b
--- /dev/null
+++ b/lock
@@ -0,0 +1,6 @@
+#!/bin/bash
+imgPath=/home/n8/media/pix/4a5g/Camera/Camera
+swaylock -d -s fit -c 002B36 --image $imgPath/$(ls $imgPath | grep -i jpg | sort -R | head -n1)
+
+# locks the screen and shows a random image
+