From d34cf9f4fa5744617711f2cf7f13ba45f142dcdf Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 17 Dec 2023 19:36:01 +0900 Subject: [PATCH] Separate PywalSwww & Refresh.sh, Now I remember :) --- config/hypr/scripts/Refresh.sh | 3 --- config/hypr/scripts/RefreshNoWaybar.sh | 8 ++++---- config/hypr/scripts/Wallpaper.sh | 1 + config/hypr/scripts/WallpaperSelect.sh | 1 + 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh index c9ad2a6..0d91de8 100755 --- a/config/hypr/scripts/Refresh.sh +++ b/config/hypr/scripts/Refresh.sh @@ -18,9 +18,6 @@ sleep 0.1 # Relaunch dunst with pywal-borders ${SCRIPTSDIR}/PywalDunst.sh & -# Pywal refresh -${SCRIPTSDIR}/PywalSwww.sh & - # Relaunching rainbow borders sleep 1 ${SCRIPTSDIR}/RainbowBorders.sh & diff --git a/config/hypr/scripts/RefreshNoWaybar.sh b/config/hypr/scripts/RefreshNoWaybar.sh index f177438..c834a53 100755 --- a/config/hypr/scripts/RefreshNoWaybar.sh +++ b/config/hypr/scripts/RefreshNoWaybar.sh @@ -14,13 +14,13 @@ for _prs in "${_ps[@]}"; do fi done -sleep 0.1 -# Relaunch dunst with pywal-borders -${SCRIPTSDIR}/PywalDunst.sh & - # Pywal refresh ${SCRIPTSDIR}/PywalSwww.sh & +sleep 0.5 +# Relaunch dunst with pywal-borders +${SCRIPTSDIR}/PywalDunst.sh & + # Relaunching rainbow borders sleep 1 ${SCRIPTSDIR}/RainbowBorders.sh & diff --git a/config/hypr/scripts/Wallpaper.sh b/config/hypr/scripts/Wallpaper.sh index e670dc6..38444b3 100755 --- a/config/hypr/scripts/Wallpaper.sh +++ b/config/hypr/scripts/Wallpaper.sh @@ -18,6 +18,7 @@ SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration swww query || swww init && swww img ${RANDOMPICS} $SWWW_PARAMS +${SCRIPTSDIR}/PywalSwww.sh sleep 1 ${SCRIPTSDIR}/Refresh.sh diff --git a/config/hypr/scripts/WallpaperSelect.sh b/config/hypr/scripts/WallpaperSelect.sh index 61049e5..cde4822 100755 --- a/config/hypr/scripts/WallpaperSelect.sh +++ b/config/hypr/scripts/WallpaperSelect.sh @@ -80,5 +80,6 @@ fi main +${SCRIPTSDIR}/PywalSwww.sh sleep 1 ${SCRIPTSDIR}/Refresh.sh