From a34e572d324dd90601c85aa064f3fa96c3e45007 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 13 Jan 2025 10:38:49 +0900 Subject: I think this is the ultimate solution to the wallust colors not applying after wallpaper change./. ha ha --- config/hypr/UserScripts/WallpaperRandom.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'config/hypr/UserScripts/WallpaperRandom.sh') diff --git a/config/hypr/UserScripts/WallpaperRandom.sh b/config/hypr/UserScripts/WallpaperRandom.sh index 6e8f5ff6..3c8c7520 100755 --- a/config/hypr/UserScripts/WallpaperRandom.sh +++ b/config/hypr/UserScripts/WallpaperRandom.sh @@ -3,7 +3,7 @@ # Script for Random Wallpaper ( CTRL ALT W) wallDIR="$HOME/Pictures/wallpapers" -scriptsDir="$HOME/.config/hypr/scripts" +SCRIPTSDIR="$HOME/.config/hypr/scripts" focused_monitor=$(hyprctl monitors | awk '/^Monitor/{name=$2} /focused: yes/{print name}') @@ -21,9 +21,10 @@ SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration swww query || swww-daemon --format xrgb && swww img -o $focused_monitor ${RANDOMPICS} $SWWW_PARAMS -sleep 1.5 -${scriptsDir}/WallustSwww.sh +wait $! +"$SCRIPTSDIR/WallustSwww.sh" && -sleep 0.5 -${scriptsDir}/Refresh.sh +wait $! +sleep 2 +"$SCRIPTSDIR/Refresh.sh" -- cgit v1.2.3