diff options
| -rwxr-xr-x | config/hypr/UserScripts/WallpaperSelect.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh index 99550db8..f9051f2e 100755 --- a/config/hypr/UserScripts/WallpaperSelect.sh +++ b/config/hypr/UserScripts/WallpaperSelect.sh @@ -196,7 +196,7 @@ main() { choice_basename=$(basename "$choice" | sed 's/\(.*\)\.[^.]*$/\1/') # Search for the selected file in the wallpapers directory, including subdirectories - selected_file=$(find /home/ja/Pictures/wallpapers -iname "$choice_basename.*" -print -quit) + selected_file=$(find $wallDIR -iname "$choice_basename.*" -print -quit) if [[ -z "$selected_file" ]]; then echo "File not found. Selected choice: $choice" |
