diff options
Diffstat (limited to 'config/hypr/UserScripts/WallpaperRandom.sh')
| -rwxr-xr-x | config/hypr/UserScripts/WallpaperRandom.sh | 11 |
1 files changed, 6 insertions, 5 deletions
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" |
