This commit is contained in:
committer
2024-05-19 18:18:28 -05:00
parent 31f0c41c81
commit cc4b923101

View File

@@ -2,11 +2,15 @@
# src:https://github.com/veltall/custom-i3lock
overlay=/home/${USER}/.local/share/img/archLinux.png
img_dir=/home/${USER}/.local/share/img
overlay_images=("archLinux.png")
random_image=${img_dir}/${overlay_images[ $RANDOM % ${#overlay_images[@]} ]}
overlay=/home/${USER}/.local/share/img/
gravity=("center" "northwest" "northeast" "southwest" "southeast")
random_gravity=${gravity[ $RANDOM % ${#gravity[@]} ]}
echo "${random_image}"
echo "${random_gravity}"
#scrot /tmp/currentworkspace.png