Select multiple file extensions / filenames with a regex/asterisk.
Description
I basically want to set my current wallpaper as the lock screen for Hyprlock, however, I use multiple file extensions (.jpg, .png, .jpeg), and having to select each file extension whenever I want to set an image path for Hyprlock is inconvinient. There is a fix, however, but it is not my desired solution.
Basically, whenever generating the current wallpaper files to the cache folder, I create a symlink pointing to the original wallpaper, with the extension altered. e.g.
...
if [ $extension != png ] ; then
cp $wallpaper_dir$wallpaper_selection $cacheDir/hyprlock.${extension}
ln -s $cacheDir/hyprlock.${extension} $cacheDir/hyprlock.png
...
This creates a soft symbolic link, which is able to be read by hyprlock.conf, whose path is set to: path = $HOME/.cache/wallpapercache/hyprlock.png
Back to the point, if there is any available method to add, say a regex or just a plain asterisk to select every extension/filename in the directory, I would gladly appreciate being let known of it, or it being implemented.