aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2025-03-17 16:56:35 +0900
committerJaKooLit <ejhay.games@gmail.com>2025-03-17 16:56:35 +0900
commit983440c0b21cbfeaba327b4e72897c42f7e79ddc (patch)
tree738c6b745a4de7380a600c32f0eed3955bbcaddc /config/hypr/UserScripts
parentb4485d18066464929ec33fd59b7d98e7b4b2f141 (diff)
minor improvement on wallpaper select to handle video files
Diffstat (limited to 'config/hypr/UserScripts')
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperSelect.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh
index 14f413d0..ff846992 100755
--- a/config/hypr/UserScripts/WallpaperSelect.sh
+++ b/config/hypr/UserScripts/WallpaperSelect.sh
@@ -218,7 +218,7 @@ main() {
modify_startup_config "$selected_file"
# **CHECK FIRST** if it's a video or an image **before calling any function**
- if [[ "$selected_file" =~ \.(mp4|mkv|mov|webm)$ ]]; then
+ if [[ "$selected_file" =~ \.(mp4|mkv|mov|webm|MP4|MKV|MOV|WEBM)$ ]]; then
apply_video_wallpaper "$selected_file"
else
apply_image_wallpaper "$selected_file"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage