From 983440c0b21cbfeaba327b4e72897c42f7e79ddc Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 17 Mar 2025 16:56:35 +0900 Subject: minor improvement on wallpaper select to handle video files --- config/hypr/UserScripts/WallpaperSelect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/hypr/UserScripts') 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" -- cgit v1.2.3