diff options
author | Nate Buttke <nate-web@riseup.net> | 2022-11-05 23:05:38 -0700 |
---|---|---|
committer | Nate Buttke <nate-web@riseup.net> | 2022-11-05 23:05:38 -0700 |
commit | f1cb2f99e7300b223927e046b4f954100c292747 (patch) | |
tree | 4f5bce0473f8ff08702aa2432a11e16c96df4866 | |
parent | 55d007f5e7752ada8e15a4f78b8781239696d61c (diff) |
lock: use same picture but a random bg color
-rwxr-xr-x | lock | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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~~ |