From f1cb2f99e7300b223927e046b4f954100c292747 Mon Sep 17 00:00:00 2001 From: Nate Buttke Date: Sat, 5 Nov 2022 23:05:38 -0700 Subject: lock: use same picture but a random bg color --- lock | 6 +++--- 1 file 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~~ -- cgit v1.2.3