This commit is contained in:
committer@tuxwarrior
2025-05-03 16:01:26 -05:00
parent 846c347806
commit 61315b312c
2 changed files with 12 additions and 4 deletions

View File

@@ -5,7 +5,7 @@
# get random image to use
# https://stackoverflow.com/questions/61290199/how-do-i-select-a-random-file-from-a-directory
random_image=$(ls -1 /home/${USER}/.local/share/img/*.png | shuf | head -1)
random_image=$(ls -1 /home/${USER}/.local/share/img/*.png | shuf | head -1)
random_image_filname="$(basename -- $random_image)"
# get random gravity to use for the overlay image, take the number of displays into account