You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
ItsFireStorm
changed the title
Select multiple file extensions with a regex/asterisk at the end of the .
Select multiple file extensions / filenames with a regex/asterisk.
Dec 11, 2024
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.
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.
The text was updated successfully, but these errors were encountered: