Improve hyprlock stuff

This commit is contained in:
2024-06-12 12:16:47 +02:00
parent 9656840792
commit c4c5502f19
3 changed files with 5 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ if [ "$#" -eq 1 ]; then
echo "$wallpaper_path is an invalid wallpaper"
fi
else
wallpaper_path=$(find "$WALLPAPER_DIR" -mindepth 1 | grep png| sort -R | tail -n 1)
wallpaper_path=$(find "$WALLPAPER_DIR" -mindepth 1 | grep png| grep -v current| sort -R | tail -n 1)
fi