Add files via upload

This commit is contained in:
2024-06-21 14:28:29 +00:00
committed by GitHub
parent 74dc204caa
commit be410fb0dc
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
# Define the image paths
IMAGE1="/home/ion606/Pictures/windowsanime2.jpg"
IMAGE2="/home/ion606/Pictures/windowsanime.jpg"
# Randomly select one of the images
if [ $((RANDOM % 2)) -eq 0 ]; then
SELECTED_IMAGE="$IMAGE1"
else
SELECTED_IMAGE="$IMAGE2"
fi
# Run swaylock with the selected image
swaylock --image "$SELECTED_IMAGE"