diff options
| author | Donald Williams <129223418+dwilliam62@users.noreply.github.com> | 2025-09-20 12:33:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-20 12:33:18 -0400 |
| commit | cb3aabe4e7d2316ec851204e48770f587de98052 (patch) | |
| tree | 500f17aabfc27995a3e0906aedbedc9dd386fc0b /config/hypr/UserScripts/WallpaperAutoChange.sh | |
| parent | 2c1032ef41ef1a49cec209fbe586655637aaa059 (diff) | |
| parent | d3aa230348871301340b10f9ba1d5d07c08ad7c1 (diff) | |
Merge pull request #818 from JaKooLit/fix/wallust-refresh-race
Fix/wallust refresh race condition
Diffstat (limited to 'config/hypr/UserScripts/WallpaperAutoChange.sh')
| -rwxr-xr-x | config/hypr/UserScripts/WallpaperAutoChange.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/hypr/UserScripts/WallpaperAutoChange.sh b/config/hypr/UserScripts/WallpaperAutoChange.sh index f54620bb..a6d2cedd 100755 --- a/config/hypr/UserScripts/WallpaperAutoChange.sh +++ b/config/hypr/UserScripts/WallpaperAutoChange.sh @@ -31,7 +31,10 @@ while true; do done \ | sort -n | cut -d':' -f2- \ | while read -r img; do - swww img -o $focused_monitor "$img" + swww img -o $focused_monitor "$img" + # Regenerate colors from the exact image path to avoid cache races + $HOME/.config/hypr/scripts/WallustSwww.sh "$img" + # Refresh UI components that depend on wallust output $wallust_refresh sleep $INTERVAL |
