From 548ade37e52f92b70dfe08a53942ef1ac57b3ea7 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 16 Mar 2025 15:50:27 +0900 Subject: initial mpvpaper support --- config/hypr/UserScripts/WallpaperEffects.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config/hypr/UserScripts/WallpaperEffects.sh') diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh index 7b1cf00b..b1d1a4b1 100755 --- a/config/hypr/UserScripts/WallpaperEffects.sh +++ b/config/hypr/UserScripts/WallpaperEffects.sh @@ -76,6 +76,11 @@ main() { # Apply selected effect notify-send -u normal -i "$iDIR/ja.png" "Applying:" "$choice effects" eval "${effects[$choice]}" + + # intial kill process + for pid in swaybg mpvpaper; do + killall -SIGUSR1 "$pid" + done sleep 1 swww img -o "$focused_monitor" "$wallpaper_output" $SWWW_PARAMS & -- cgit v1.2.3