diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-01-13 10:38:49 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-01-13 10:38:49 +0900 |
| commit | a34e572d324dd90601c85aa064f3fa96c3e45007 (patch) | |
| tree | 5c55d307f2a21ebf1dc24647d014f293330650e8 /config/hypr/UserScripts/WallpaperRandom.sh | |
| parent | 8c430cb1c39b08bc63f6ce831a92d76c3a8ec211 (diff) | |
I think this is the ultimate solution to the wallust colors not applying after wallpaper change./. ha ha
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" |
