From 5d2134c20e1b77be2507e328274fa2290030aff2 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 20 Oct 2021 19:20:37 +0100 Subject: (Scripts)~lock_image is randomly chosen, ~default colour is black --- Scripts/.local/scripts/lock | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Scripts/.local/scripts') diff --git a/Scripts/.local/scripts/lock b/Scripts/.local/scripts/lock index bfaff05..1939e37 100755 --- a/Scripts/.local/scripts/lock +++ b/Scripts/.local/scripts/lock @@ -1,5 +1,6 @@ #!/usr/bin/env bash set -euo pipefail -lock_image=$HOME/Pictures/Lockscreens/0062.png -i3lock -nbfet -i $lock_image -c 33ee88 +# lock_image=$HOME/Pictures/Lockscreens/0062.png +lock_image="$HOME/Pictures/Lockscreens/$(ls $HOME/Pictures/Lockscreens | shuf | head -1)" +i3lock -nbfe -i $lock_image -c 000000 # 33ee88 -- cgit v1.2.3-13-gbd6f