diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2025-01-14 00:14:52 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-14 00:14:52 +0900 |
| commit | d61b676b9b8b32f73def3d92aa3eb31ab6a2bfbc (patch) | |
| tree | 644b7851f189af52bfde39a2658cfe0d2fd20d7c /config/hypr/UserScripts/WallpaperRandom.sh | |
| parent | 3573df4a1d0b4c915975ac80275442c35831fb2f (diff) | |
| parent | df57f9890b28aa6f5139e2917cee213031ba0e9c (diff) | |
Merge pull request #521 from JaKooLit/main
main to development
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" |
