diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-03-17 16:56:35 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-03-17 16:56:35 +0900 |
| commit | 983440c0b21cbfeaba327b4e72897c42f7e79ddc (patch) | |
| tree | 738c6b745a4de7380a600c32f0eed3955bbcaddc /config/hypr/UserScripts/WallpaperSelect.sh | |
| parent | b4485d18066464929ec33fd59b7d98e7b4b2f141 (diff) | |
minor improvement on wallpaper select to handle video files
Diffstat (limited to 'config/hypr/UserScripts/WallpaperSelect.sh')
| -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 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" |
