diff --git a/dots/bin/i3lock_fk.sh b/dots/bin/i3lock_fk.sh index e5d610a..c2d69b8 100644 --- a/dots/bin/i3lock_fk.sh +++ b/dots/bin/i3lock_fk.sh @@ -4,13 +4,14 @@ img_dir=/home/${USER}/.local/share/img overlay_images=("ajp.png" "antiVax.png" "archLinux.png" "archLogo.png" "linuxLogo1.png" "linuxLogo2.png") -random_image=${img_dir}/${overlay_images[ $RANDOM % ${#overlay_images[@]} ]} +random_image_file=${overlay_images[ $RANDOM % ${#overlay_images[@]} ]} +random_image=${img_dir}/${random_image_file} overlay=/home/${USER}/.local/share/img/ gravity=("center" "northwest" "northeast" "southwest" "southeast") random_gravity=${gravity[ $RANDOM % ${#gravity[@]} ]} -notify-send "${random_image} @ ${random_gravity} coming up…" +notify-send "${random_image_file} @ ${random_gravity} coming up…" #echo "${random_image}" #echo "${random_gravity}"