🐛 fix(hypr): random wallpaper script now outputs every image in the dir
This commit is contained in:
parent
41ac17b88b
commit
780f692785
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ if [ "$mode" == "select" ]; then
|
|||
exit 1
|
||||
fi
|
||||
elif [ "$mode" == "random" ]; then
|
||||
RANDOM_IMAGE=$(fd -e png -e jpg --base-directory "$HOME/.config/hypr/themes/luna/walls/" --type f . | shuf -n 1)
|
||||
RANDOM_IMAGE=$(fd --base-directory "$HOME/.config/hypr/themes/luna/walls/" --type f . | shuf -n 1)
|
||||
IMAGE="$HOME/.config/hypr/themes/luna/walls/$RANDOM_IMAGE"
|
||||
else
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Reference in a new issue