summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Buttke <nate-web@riseup.net>2022-11-05 23:05:38 -0700
committerNate Buttke <nate-web@riseup.net>2022-11-05 23:05:38 -0700
commitf1cb2f99e7300b223927e046b4f954100c292747 (patch)
tree4f5bce0473f8ff08702aa2432a11e16c96df4866
parent55d007f5e7752ada8e15a4f78b8781239696d61c (diff)
lock: use same picture but a random bg color
-rwxr-xr-xlock6
1 files changed, 3 insertions, 3 deletions
diff --git a/lock b/lock
index 20fa44b..60a9a88 100755
--- a/lock
+++ b/lock
@@ -1,6 +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
+#swaylock -d -s fit -c 002B36 --image $imgPath/$(ls $imgPath | grep -i jpg | sort -R | head -n1)
+swaylock -d -s fit -c $(openssl rand -hex 3) --image ~/media/pix/alice.jpeg
+# locks the screen and shows a random color ~~image~~